Here, this might be more user-friendly:
That way, the User will never need to do anythingCode:#ifndef EXPORT #define EXPORT __declspec(dllimport) #endif//EXPORT. When you u'ze it in the DLL, simple define EXPORT before you include the header, like this:
Tada!Code:#define EXPORT __declspec(dllexport) #include "myheader.h"![]()
SPH![]()
![]()
![]()



LinkBack URL
About LinkBacks
:



