Re: Problem calling my C DLL from a IDE created source

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

Andrew Katz wrote:
> Adding the + had no effect. Should I try to compile the EUPHORIA language
> myself and try to debug it?

Sure, if you feel up to it. I don't think you'll find
a bug in Euphoria, but you might understand the calling
conventions better.

I vaguely recall that Watcom does not implement the
CDECL calling convention exactly according to the standard.
There might be a problem with return values from the .dll. 
My memory on this is a bit hazy. Perhaps you should try to use 
the STDCALL convention in your .dll, and see if that works.
Or try the Borland C/C++ compiler. (Certainly you can't link
with C++ routines without doing some extra work that Matt Lewis
has figured out.)

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