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
i_shboulAsked:
Who is Participating?
 
PriyeshConnect With a Mentor Commented:
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.

0
 
jrmcgCommented:
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 :

mk:@ivt:techart/html/dllart.htm

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

J.R.



0
 
i_shboulAuthor Commented:
you can find something usefull at http://journal.iftech.com/articles/ao_dll/
0
 
i_shboulAuthor Commented:
you can find something useful at http://journal.iftech.com/articles/ao_dll/
0
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.

All Courses

From novice to tech pro — start learning today.