stdcall / cdecl -- please clarify
Hello,
Regarding the problem with calling functions using cdecl in .dll files:
I am not a C programmer, so this is not completely clear to me. Will
the corruption/errors only occur when using the Translator? If I use
the interpreter with these .dll's, do I have no worries?
Can this problem be gotten around by using the Translator with Watcom
for my Euphoria programs, or is it the .dll that needs to be altered?
(I believe the latter, but I'm not positive.)
Would it be possible to make a simple "intermediate" C program or .dll
that is called with stdcall, which then in turn calls the desired .dll
using cdecl? In other words, my Euphoria program calls a function in a
.dll using stdcall. That fuction calls the 2nd .dll using cdecl.
Would this slow things down?
Andy Serpa
renegade at earthling.net
|
Not Categorized, Please Help
|
|