Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetWindowsHookEx from NT Service Pin
kelt66627-Jun-06 3:45
kelt66627-Jun-06 3:45 
AnswerRe: SetWindowsHookEx from NT Service Pin
James R. Twine27-Jun-06 1:58
James R. Twine27-Jun-06 1:58 
GeneralRe: SetWindowsHookEx from NT Service Pin
sudeesh27-Jun-06 2:22
sudeesh27-Jun-06 2:22 
GeneralRe: SetWindowsHookEx from NT Service Pin
James R. Twine27-Jun-06 3:03
James R. Twine27-Jun-06 3:03 
GeneralRe: SetWindowsHookEx from NT Service Pin
sudeesh27-Jun-06 21:33
sudeesh27-Jun-06 21:33 
JokeRe: SetWindowsHookEx from NT Service Pin
James R. Twine28-Jun-06 13:23
James R. Twine28-Jun-06 13:23 
GeneralRe: SetWindowsHookEx from NT Service Pin
kelt66627-Jun-06 3:36
kelt66627-Jun-06 3:36 
GeneralRe: SetWindowsHookEx from NT Service Pin
James R. Twine27-Jun-06 6:50
James R. Twine27-Jun-06 6:50 
   Are you sure the hook is really not getting executed?  You cannot set a breakpoint in the debugger with the service loaded and expect to see it fire from within the service, because the hook is getting loaded into the target processes, and it will fire under the context of those processes.

   If you do something like using OutputDebugString(...) to write out a string to the debugger (do not use TRACE/TRACEx(...)).  Using the console application under the debugger, you should be able to see the output from that function if it is being fired.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: SetWindowsHookEx from NT Service Pin
kelt66627-Jun-06 7:33
kelt66627-Jun-06 7:33 
GeneralRe: SetWindowsHookEx from NT Service Pin
James R. Twine27-Jun-06 14:33
James R. Twine27-Jun-06 14:33 
GeneralRe: SetWindowsHookEx from NT Service Pin
kelt66627-Jun-06 22:44
kelt66627-Jun-06 22:44 
Questionfile path Pin
amit.code27-Jun-06 0:22
amit.code27-Jun-06 0:22 
AnswerRe: file path Pin
FarPointer27-Jun-06 0:28
FarPointer27-Jun-06 0:28 
GeneralRe: file path Pin
amit.code27-Jun-06 1:24
amit.code27-Jun-06 1:24 
AnswerRe: file path Pin
Hamid_RT27-Jun-06 1:27
Hamid_RT27-Jun-06 1:27 
Questionpeer to peer file sharing Pin
jalsa G27-Jun-06 0:08
jalsa G27-Jun-06 0:08 
AnswerRe: peer to peer file sharing Pin
Hamid_RT27-Jun-06 1:52
Hamid_RT27-Jun-06 1:52 
QuestionAllocating a Multidimensional Array Pin
Richard Andrew x6427-Jun-06 0:06
professionalRichard Andrew x6427-Jun-06 0:06 
AnswerRe: Allocating a Multidimensional Array [modified] Pin
Viorel.27-Jun-06 1:32
Viorel.27-Jun-06 1:32 
GeneralRe: Allocating a Multidimensional Array Pin
Richard Andrew x6427-Jun-06 3:54
professionalRichard Andrew x6427-Jun-06 3:54 
AnswerRe: Allocating a Multidimensional Array Pin
Hamid_RT27-Jun-06 2:15
Hamid_RT27-Jun-06 2:15 
GeneralRe: Allocating a Multidimensional Array Pin
Richard Andrew x6427-Jun-06 3:56
professionalRichard Andrew x6427-Jun-06 3:56 
Questionftp link library in VC++? Pin
usman_07026-Jun-06 23:57
usman_07026-Jun-06 23:57 
QuestionXml Pin
vasusree26-Jun-06 23:30
vasusree26-Jun-06 23:30 
AnswerRe: Xml Pin
Taka Muraoka26-Jun-06 23:49
Taka Muraoka26-Jun-06 23:49 

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.