Solved

why AFX_EXT_CLASS isn't used in MFC-source

Posted on 1998-06-08
3
674 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
[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
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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 76
Folder Comparison 12 55
Add content to output file 4 72
conditional code and condition difference 9 87
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…
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.

739 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