Solved

why AFX_EXT_CLASS isn't used in MFC-source

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

Technology Partners: 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
Folder Comparison 12 55
iSeries DB2 Query 2 98
modThree challenge 4 103
Not needed 13 129
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

762 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