Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCOleDropTarget. register(pWnd *) returning 0 Pin
danag6-Sep-02 13:53
danag6-Sep-02 13:53 
GeneralRe: COleDropTarget. register(pWnd *) returning 0 Pin
Paul M Watt6-Sep-02 18:54
mentorPaul M Watt6-Sep-02 18:54 
Questionhow to integrate the windows file manager in a visual c++ application ? Pin
luc26-Sep-02 11:09
luc26-Sep-02 11:09 
AnswerRe: how to integrate the windows file manager in a visual c++ application ? Pin
Paul M Watt6-Sep-02 13:35
mentorPaul M Watt6-Sep-02 13:35 
GeneralRe: how to integrate the windows file manager in a visual c++ application ? Pin
luc27-Sep-02 8:25
luc27-Sep-02 8:25 
AnswerRe: how to integrate the windows file manager in a visual c++ application ? Pin
Jawache7-Sep-02 3:11
Jawache7-Sep-02 3:11 
GeneralRe: how to integrate the windows file manager in a visual c++ application ? Pin
luc27-Sep-02 8:29
luc27-Sep-02 8:29 
GeneralLinking problem Pin
Roger Allen6-Sep-02 10:56
Roger Allen6-Sep-02 10:56 
I am in the process of writing a library which will allow users to make any MFC doc/view app have a plug in architecture. It will be published as an article here if I can get it to work. The problem I have at the moment is that I need to copy the standard MFC MESSAGE_MAP architecture. Now assuming I have got a pointer to a MESSAGE_MAP object, I need to dispatch with a call to
_AfxDispatchCmdMsg


The problem I have is that when I link my example project and library, I get a unresolved external symbol "int __stdcall _AfxDispatchCmdMsg(blah blah blah) error. Mad | :mad:

Now this function should be part of the standard MFC architecture, and thus part of my project, because when I comment out the call to it, you can step into this function by going throught the MFC layers until you get to CWnd::OnCmdMsg() where it is called from in the MFC library! Confused | :confused:

So, how can I link to this function? What library/dll/include etc would I need to use?

Cheers!


Roger Allen
Sonork 100.10016

I think I need a new quote, I am on the prowl, so look out for a soft cute furry looking animal, which is really a Hippo in disguise. Its probably me.
GeneralRe: Linking problem Pin
Stephane Rodriguez.6-Sep-02 11:16
Stephane Rodriguez.6-Sep-02 11:16 
GeneralRe: Linking problem Pin
Roger Allen7-Sep-02 22:18
Roger Allen7-Sep-02 22:18 
GeneralQuestion Pin
Steve L.6-Sep-02 10:58
Steve L.6-Sep-02 10:58 
Questionmain() inside a class? Pin
Rickard Andersson206-Sep-02 10:26
Rickard Andersson206-Sep-02 10:26 
AnswerRe: main() inside a class? Pin
Jeremy Falcon6-Sep-02 10:37
professionalJeremy Falcon6-Sep-02 10:37 
AnswerRe: main() inside a class? Pin
Chris Losinger6-Sep-02 11:39
professionalChris Losinger6-Sep-02 11:39 
AnswerRe: main() inside a class? Pin
Paul M Watt6-Sep-02 13:40
mentorPaul M Watt6-Sep-02 13:40 
GeneralRe: main() inside a class? Pin
Rickard Andersson207-Sep-02 2:11
Rickard Andersson207-Sep-02 2:11 
AnswerRe: main() inside a class? Pin
Todd Smith6-Sep-02 17:26
Todd Smith6-Sep-02 17:26 
GeneralRe: main() inside a class? Pin
Rickard Andersson207-Sep-02 2:13
Rickard Andersson207-Sep-02 2:13 
QuestionHow much memory does a process have? Pin
Victor Volkman6-Sep-02 10:18
sussVictor Volkman6-Sep-02 10:18 
AnswerRe: How much memory does a process have? Pin
Stephane Rodriguez.6-Sep-02 10:47
Stephane Rodriguez.6-Sep-02 10:47 
AnswerRe: How much memory does a process have? Pin
Mike Nordell6-Sep-02 17:57
Mike Nordell6-Sep-02 17:57 
GeneralRe: How much memory does a process have? Pin
sysop@HAL9K.com9-Sep-02 2:00
sysop@HAL9K.com9-Sep-02 2:00 
GeneralOffice 2000 vs Office 2002 Pin
Anonymous6-Sep-02 9:55
Anonymous6-Sep-02 9:55 
GeneralRe: Office 2000 vs Office 2002 Pin
Todd Smith6-Sep-02 17:30
Todd Smith6-Sep-02 17:30 
GeneralRe: Office 2000 vs Office 2002 Pin
Anonymous8-Sep-02 6:22
Anonymous8-Sep-02 6:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.