Solved

why AFX_EXT_CLASS isn't used in MFC-source

Posted on 1998-06-08
3
658 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
Comment Utility
MFC classes are exproted via mfc42.def file.
0
 

Author Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
if loop in java 3 114
zeroFront challenge 7 70
Unix Command -- Challenging  question 7 79
Annoying "thing" blocks my view 4 49
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 video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

10 Experts available now in Live!

Get 1:1 Help Now