Solved

DLLs and MFC

Posted on 1998-09-17
4
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

734 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