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?
I'm working on craeting DLL in C and on MS VC++ .
Any suggestions anyone?