Page 1 of 1

external functions structure

Posted: Fri Aug 07, 2009 12:40 pm
by ConvertFromOldNGs
by Anonymous >> Mon, 13 Sep 2004 15:55:35 GMT

the functions in a driver written in C++ has the following prototype:

void *Start();

Does anyone know how to convert the above prototype to JADE?

Re: external functions structure

Posted: Fri Aug 07, 2009 12:40 pm
by ConvertFromOldNGs
by allistar >> Mon, 13 Sep 2004 20:50:31 GMT

Something like this:

start():Binary is Start in someDll;

The "Start" function in the dll needs to be exported (i.e. able to be called from other applications) in order to do this. You'll need to find out exactly what this function is expected to return, because at teh moment it returns a pointer to untyped memory, so could be anything.

Regards,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------