how call a c function with stdcall?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 24 17:26:20 PDT 2015


On Wednesday, 25 March 2015 at 00:09:33 UTC, mzfhhhh wrote:
> i use "implib.exe /system func.lib func.dll" to create a 
> func.lib.

You might also need to specify the .def file as the final 
argument to that.

http://digitalmars.com/ctg/implib.html

The def file can list aliases for the functions. Maybe try it 
without the /system flag too. I know there's a way but I don't 
know exactly what, I just tend to guess and check a little...


More information about the Digitalmars-d-learn mailing list