try putting extern "C" in the below ,
_declspec(dllimport) int _stdcall f(int argc,char**argv);
so, as to see if you have any isues with the "C" and "C++" functions
(or) in your def , you could simply call
_declspec(dllimport) int f(int argc,char**argv)...
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.