Solved

why AFX_EXT_CLASS isn't used in MFC-source

Posted on 1998-06-08
3
662 Views
Last Modified: 2013-11-19
I want to create my own MFC-derived  Class in a DLL. Because of MFC-Help you have to use the prefix AFX_EXT_CLASS to declare a class that is used outside your DLL (see the MFC-sample "DllHusk"). Why AFX_EXT_CLASS doesn't appear in MFC-sources.
0
Comment
Question by:wronna
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 100 total points
ID: 1316189
MFC classes are exproted via mfc42.def file.
0
 

Author Comment

by:wronna
ID: 1316190
How to get automaticly a .def file of my project including all classes and functions ? Because i guess microsoft don't do this manually.
0
 
LVL 7

Expert Comment

by:galkin
ID: 1316191
Enable linker generation of map file and you will be a ble to cut and paste functions you want to export
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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 53
How to know only "File created" with EventLog 3 32
isEverywhere  challenge 19 72
FizzBuzz challenge 9 76
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

21 Experts available now in Live!

Get 1:1 Help Now