Re: 2.4 alpha-test release

new topic     » goto parent     » topic index » view thread      » older message » newer message

Brian Broker writes:
> Will 2.4 have native support for CDecl DLLs?

Yes. I've been working on this lately.
After much study of assembly code,
and a lot of testing, I've confirmed that the 
interpreter (built by Watcom),
and the translator using Watcom,
can *already* call both stdcall and cdecl dlls.
Do you have any counter examples?

I've added cdecl support for Borland and Lcc. 
You just have to add a '+' to the function name 
in define_c_func/proc to indicate that it uses 
the cdecl calling convention.

I also plan to allow Euphoria cdecl callback routines.
Currently, callbacks are stdcall.

By the way, Watcom does not exactly agree with
the rest of the world as to the cdecl convention,
but that won't affect us unless your dll is built using Watcom.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu