Search

missing DLL exports in MFC by CORCOR

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Suggestion
ID: 679390
Opened: 7/14/2011 3:12:17 AM
Access Restriction: Public
0
Workaround(s)
Wouldn't it be possible to DLL - export:

extern CMenuHash afxMenuHash;
extern CKeyboardManager* afxKeyboardManager;
extern CFrameWnd* g_pTopLevelFrame;

even when they are undocumented (at least for debugging purposes)!?
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010 SP1

What category (if any) best represents this feedback?

Compatibility

Steps to reproduce

the mentioned MFC members cannot be accessed in MFC DLL (only when statically linking to MFC)

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

linker errors when trying to access them

Expected results

no linker errors (e.g. by using "AFX_IMPORT_DATA")
File Attachments
0 attachments
Sign in to post a comment.
Posted by CORCOR on 8/16/2011 at 12:39 AM
Hi!

Does "fixed" mean that these DLL exports are part of the next MFC version?
Posted by Microsoft on 7/14/2011 at 3:23 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.