Solved

DLLs and MFC

Posted on 1998-09-17
4
342 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:i_shboul
  • 2
4 Comments
 
LVL 2

Expert Comment

by:jrmcg
ID: 1322210
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
 
LVL 9

Accepted Solution

by:
Priyesh earned 50 total points
ID: 1322211
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
 

Author Comment

by:i_shboul
ID: 1322212
you can find something usefull at http://journal.iftech.com/articles/ao_dll/
0
 

Author Comment

by:i_shboul
ID: 1322213
you can find something useful at http://journal.iftech.com/articles/ao_dll/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now