That worked, thanks, though I had to put it this way, extern "C" must precede the declaration:
extern "C" _declspec(dllimport) int _stdcall f(int argc,char**argv)
Hello
I need help with this.
I build a DLL with MS Visual c++ 6. The library exports a function in this way: _declspec(dllexport) _stdcall int f(int a,char **b);
Let's call the DLL A.DLL.
The DLL compiles correctly, and with the DUMPBIN utility I see it is exporting function f.
Now, I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.