Hello all ,
I'n new to writing DLLs and the foll line of code in a header file is giving me errors:-
_declspec(dllexport) static int erlStarted = 0
The error is :-
error C2201: 'erlStarted' : must have external linkage in order to be exported/imported
How do I export static data from a DLL...
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.