Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Terminating a process Pin
Jim Crafton13-Nov-06 10:03
Jim Crafton13-Nov-06 10:03 
AnswerRe: Terminating a process Pin
#realJSOP13-Nov-06 10:15
professional#realJSOP13-Nov-06 10:15 
JokeRe: Terminating a process Pin
led mike13-Nov-06 10:43
led mike13-Nov-06 10:43 
AnswerRe: Terminating a process Pin
Stephen Hewitt13-Nov-06 13:21
Stephen Hewitt13-Nov-06 13:21 
QuestionAutomation server - Coclass registration problem Pin
User 21559713-Nov-06 6:48
User 21559713-Nov-06 6:48 
QuestionMessage Map doesn't work in dynamically loaded dll Pin
Stefan Rehling13-Nov-06 6:39
Stefan Rehling13-Nov-06 6:39 
AnswerRe: Message Map doesn't work in dynamically loaded dll Pin
Mark Salsbery13-Nov-06 7:29
Mark Salsbery13-Nov-06 7:29 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Stefan Rehling13-Nov-06 8:05
Stefan Rehling13-Nov-06 8:05 
Yes, you are right, DDX is for the automatic data transfer between controls and associated member variables of CDialog or CFormView derived classes.
The problem is that this mechanism works well in stand alone EXEs and DLLs which are linked at compile time.

My DLLs are linked at runtime via a call to LoadLibrary(), there is no chance for the compiler to puzzle all the message maps together I think. Somewhere there must lie the problem.

My window is created IN the DLL, the parent window is given to the DLL by a pointer to a CWnd, as you can see in my code.

Previously I said, that the whole Message map does not work. That was not correct. Messages for the window itself (i.e. WM_MOUSEMOVE, WM_CREATE, WM_SIZE) are delivered through the Message Map to the handler functions correctly. Only messages for the child windows like controls are not delivered.

I don't understand this behaviour... After 8 years MFC programming ;-((



GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Mark Salsbery13-Nov-06 8:27
Mark Salsbery13-Nov-06 8:27 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Mark Salsbery13-Nov-06 8:46
Mark Salsbery13-Nov-06 8:46 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Stefan Rehling13-Nov-06 22:31
Stefan Rehling13-Nov-06 22:31 
QuestionafxOccMgr and pWndCtrl problems Pin
earlgraham13-Nov-06 6:36
earlgraham13-Nov-06 6:36 
QuestionMultiLanguage Engine Pin
dannygilbert313-Nov-06 6:11
dannygilbert313-Nov-06 6:11 
AnswerRe: MultiLanguage Engine Pin
toxcct13-Nov-06 6:19
toxcct13-Nov-06 6:19 
AnswerRe: MultiLanguage Engine Pin
ThatsAlok13-Nov-06 7:00
ThatsAlok13-Nov-06 7:00 
QuestionExtern and CLASS Pin
dannygilbert313-Nov-06 6:10
dannygilbert313-Nov-06 6:10 
AnswerRe: Extern and CLASS Pin
Mark Salsbery13-Nov-06 6:16
Mark Salsbery13-Nov-06 6:16 
AnswerRe: Extern and CLASS Pin
toxcct13-Nov-06 6:17
toxcct13-Nov-06 6:17 
AnswerRe: Extern and CLASS Pin
James R. Twine13-Nov-06 6:26
James R. Twine13-Nov-06 6:26 
AnswerRe: Extern and CLASS Pin
ThatsAlok13-Nov-06 7:00
ThatsAlok13-Nov-06 7:00 
Question2 CFileDialogs Pin
Desmo1613-Nov-06 6:07
Desmo1613-Nov-06 6:07 
AnswerRe: 2 CFileDialogs Pin
James R. Twine13-Nov-06 6:09
James R. Twine13-Nov-06 6:09 
AnswerRe: 2 CFileDialogs Pin
toxcct13-Nov-06 6:09
toxcct13-Nov-06 6:09 
GeneralRe: 2 CFileDialogs Pin
Desmo1613-Nov-06 6:36
Desmo1613-Nov-06 6:36 
GeneralRe: 2 CFileDialogs [modified] Pin
toxcct13-Nov-06 6:47
toxcct13-Nov-06 6:47 

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.