Re: c_func in Eu 4.1 Beta (Windows)
- Posted by Jerome Mar 18, 2014
- 1542 views
mattlewis said...
Ah...this is a calling convention problem. The dll is expecting cdecl (the default when you write C code), but the way it's imported in the code, you end up calling with stdcall (a win32 aberration). Try changing to "+sum"...
Thanks Matt, that fixes the issue for mylib.ex and my old program! This was starting to drive me a little crazy...
-Ira