Click here to Skip to main content
15,913,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What type of c source do you prefer? Pin
Christian Graus17-Sep-06 19:36
protectorChristian Graus17-Sep-06 19:36 
AnswerRe: What type of c source do you prefer? Pin
Joe Woodbury17-Sep-06 19:53
professionalJoe Woodbury17-Sep-06 19:53 
QuestionCFileDialog problem! Pin
toanmtkh@yahoo.com17-Sep-06 17:49
toanmtkh@yahoo.com17-Sep-06 17:49 
AnswerRe: CFileDialog problem! Pin
S Douglas17-Sep-06 23:17
professionalS Douglas17-Sep-06 23:17 
QuestionHow to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
jipai17-Sep-06 15:59
jipai17-Sep-06 15:59 
AnswerRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
_AnsHUMAN_ 17-Sep-06 17:54
_AnsHUMAN_ 17-Sep-06 17:54 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
jipai17-Sep-06 18:36
jipai17-Sep-06 18:36 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Stephen Hewitt17-Sep-06 19:21
Stephen Hewitt17-Sep-06 19:21 
When you use global hooks you are effectively writing a distributed application. The calls to OutputDebugString are being called in the context of the application which creates the window ***NOT*** the process which installs the hook - this is the nature of global hooks and why they're so dangerous to overall system stability if written incorrectly. In short, your code may be working but you're looking in the wrong place for the debug messages.

Steve

GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Stephen Hewitt17-Sep-06 20:29
Stephen Hewitt17-Sep-06 20:29 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Stephen Hewitt17-Sep-06 20:34
Stephen Hewitt17-Sep-06 20:34 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
jipai18-Sep-06 6:33
jipai18-Sep-06 6:33 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Stephen Hewitt18-Sep-06 13:56
Stephen Hewitt18-Sep-06 13:56 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
jipai20-Sep-06 15:39
jipai20-Sep-06 15:39 
AnswerRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Naveen17-Sep-06 17:58
Naveen17-Sep-06 17:58 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
jipai17-Sep-06 18:44
jipai17-Sep-06 18:44 
AnswerRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Hamid_RT17-Sep-06 19:52
Hamid_RT17-Sep-06 19:52 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
jipai18-Sep-06 6:36
jipai18-Sep-06 6:36 
GeneralRe: How to use SetWindowsHookEx to hook onto CreateWindowEx ? Pin
Hamid_RT18-Sep-06 9:43
Hamid_RT18-Sep-06 9:43 
Questionworking with a COM port in C++/MFC Pin
jet91517-Sep-06 14:29
jet91517-Sep-06 14:29 
QuestionPassing data from modal dialog. Pin
SzyKam17-Sep-06 12:57
SzyKam17-Sep-06 12:57 
AnswerRe: Passing data from modal dialog. Pin
Christian Graus17-Sep-06 13:02
protectorChristian Graus17-Sep-06 13:02 
GeneralRe: Passing data from modal dialog. Pin
SzyKam17-Sep-06 13:12
SzyKam17-Sep-06 13:12 
GeneralRe: Passing data from modal dialog. Pin
Christian Graus17-Sep-06 13:15
protectorChristian Graus17-Sep-06 13:15 
GeneralRe: Passing data from modal dialog. Pin
SzyKam17-Sep-06 13:26
SzyKam17-Sep-06 13:26 
GeneralRe: Passing data from modal dialog. Pin
Christian Graus17-Sep-06 13:39
protectorChristian Graus17-Sep-06 13:39 

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.