On Mon, 22 Dec 2003, Kevin Atkinson wrote:
On Mon, 22 Dec 2003, Boaz Harrosh wrote:
I have stdcall working fine here.
There is something wrong with your DLL the fact that "pexports" dumped "_" before symbol names is a clue to those functions been exported as cdecl. In stdcall (or PASCAL) no under-scored is perpended. (and you should see the @number at end of names). check to see how this DLL was compiled on windows (or wine). Was it compiled with a .DEF file?
The DLL was compiled with Visual C++ without the .def file. Um, if it is cdecl why is the @ at the end of the names. The DLL works just fine when linked with a mingw compiled executable.
Also, when I make it cdecl there is NO underscore.
Recombining the DLL with gcc is NOT an option.