• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

DLLs and MFC

How I can export a class in an MFC DLL.
I need more info about DLLs in general and MFC DLLS in particular.
what are MFC DLL limitations, and any other info about MFC DLLs
  • 2
1 Solution
The MSDN has an article titled "DLLs for Beginners" that goes from definition to implementation with code samples.  There are also links to KB articles inside this one.  I tried to find the exact location at microsoft support but am having trouble searching within the ms support.  If you have the MSDN on disk it is at :


If you can find it, I'm sure it will help you alot.


Create a dll as an extension dll. Then declare u'r class structures as usual but use class AFX_EXT_CLASS MyClass
//declare here..
This exports the class.

i_shboulAuthor Commented:
you can find something usefull at http://journal.iftech.com/articles/ao_dll/
i_shboulAuthor Commented:
you can find something useful at http://journal.iftech.com/articles/ao_dll/
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now