Exporting classes from DLL
I want to export some classes from an DLL. But if I use this DLL in another application I can only use functions of the classes, which don''t give back any value.
In my Export-".h"-file I''ve written like this
#include "class1.h"
#include "class2.h"
class DLLEXPORT Class1;
class DLLEXPORT Class2;
These functions I can use
void Class1::Init();
And these not:
int Class1::Count();
What can I do to solve this problem?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement