Just a couple of questions, I'm using VC++7(2002) to compile a DLL, and this declaration produces a 'macro redefinition' warning:
#ifdef DMDLLEXP
#define DMD3D_EXP __declspec(dllexport)
#else
#define DMD3D_EXP __declspec(dllimport)
#endif
This is all that's in the file... I'm a little baffled, any ideas?
Also, when using this definition like so
class DMD3D_EXP CDark
{
functions...
}
In the code, all of the functions in the class give the warning: 'inconsistent dll linkage'
Not from the header with the class definition, but the cpp file with all the function definitions in it.
I'm confused, any ideas?