|
-
May 19th, 1999, 03:32 AM
#1
WIN32 DLL EXPORT OF VIRTUAL FUNCTIONS
Hi
I am trying to export pure virtual function from an NOT MFC DLL.
class __declspec(dllexport) CMyClass
{
public:
virtual int Dummy() = 0;
};
It doesn't work !!!
-
May 20th, 1999, 11:04 PM
#2
Re: WIN32 DLL EXPORT OF VIRTUAL FUNCTIONS
Interesting question this. I am interested to know if the classic Shapes example of OOP can be done with each shape in a separate DLL which will allow future addition of new shapes that wont be known in advance.
-
May 20th, 1999, 11:48 PM
#3
Re: WIN32 DLL EXPORT OF VIRTUAL FUNCTIONS
Of course it doesn't work. The virtual keyword implys that Dummy() has no implementation in CMyClass, thus there is nothing to export.
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
|