Solved

DLLs and MFC

Posted on 1998-09-17
4
344 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 61
Define unique primary key 9 92
Unix Command -- Challenging  question 7 88
Excel file not created as expected 7 70
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…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

808 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