Re: A new Frame support plug-in
fiveight wrote:
Hi All:
I have used MFC for five years. I found that MFC was not designed for
developing applications that support plug-in. Are there any frame can handle
this job? Or can I improve MFC? For example, I think CView should not be a
class, it should be an interface.
Ok, I must admit that I am a novice in programming applications support
plug-in, so any suggestions are welcome!
I really don't understand your post. MFC is just a special kind of C++ Windows
application. As Scott says, Windows has DLL's, and DLL's can be used for plugins.
As to CView being an interface, I'm not sure what you mean. The current CView is
an abstract class. Because C++ supports multiple inheritance of classes,
interfaces do not play the fundamental role that they do in languages like Java
and C# which only support multiple inheritance of interfaces (one class, many
interfaces). In C++, an interface is just an abstract class that contains only
pure virtual methods.
--
David Wilkinson
Visual C++ MVP