external functions structure

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

external functions structure

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:40 pm

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?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: external functions structure

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:40 pm

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 ------------------------------------------------------------------


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 18 guests