Re: Problem calling my C DLL from a IDE created source
- Posted by Robert Craig <rds at RapidEuphoria.com> Mar 07, 2007
- 511 views
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