|
-
May 17th, 1999, 02:19 AM
#1
Strange warning when compiling dll.
Hiya!
I have a MFC Extension dll.
class AFX_EXT_CLASS CMyClassInDll
{
public:
CMyClassInDll();
~CMyClassInDll();
void MinMetod();
};
CMyClassInDll::CMyClassInDll()
{
}
CMyClassInDll::~CMyClassInDll()
{
}
void CMyClassInDll::MinMetod()
{
AfxMessageBox( _T("Funkade ganska bra") );
}
I have the dll in the same workspace as my main program, when I compile I get the following warnings.
'CMyClassInDll::CMyClassInDll' : inconsistent dll linkage. dllexport assumed.
'CMyClassInDll::~CMyClassInDll' : inconsistent dll linkage. dllexport assumed.
'MinMetod' : inconsistent dll linkage. dllexport assumed.
What is wrong? Everything works as i should.
Thanks
Magnus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|