Solved

DLLs and MFC

Posted on 1998-09-17
4
339 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
Comment Utility
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
Comment Utility
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
Comment Utility
you can find something usefull at http://journal.iftech.com/articles/ao_dll/
0
 

Author Comment

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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sum13 challenge 24 77
abstract class with all non abstract mentods 6 71
withoutTen challenge 14 87
Line meaning 9 75
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…

763 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

16 Experts available now in Live!

Get 1:1 Help Now