Click here to Skip to main content
15,915,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Keyboard Hook - all in a DLL Pin
«_Superman_»29-Jun-09 18:48
professional«_Superman_»29-Jun-09 18:48 
Ensure that the thread id belongs to the same process.
How are you getting the thread id?

Some hooks can only be global.
If you're installing the low level keyboard hook, it can only be global.
Look at the remarks section of the SetWindowsHookEx[^] function.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: Keyboard Hook - all in a DLL Pin
trungkiendt829-Jun-09 18:56
trungkiendt829-Jun-09 18:56 
GeneralRe: Keyboard Hook - all in a DLL Pin
«_Superman_»29-Jun-09 19:03
professional«_Superman_»29-Jun-09 19:03 
GeneralRe: Keyboard Hook - all in a DLL Pin
trungkiendt830-Jun-09 11:34
trungkiendt830-Jun-09 11:34 
QuestionProblems showing a non modal form from a VB6 activex in Visual C++ 6 [modified] Pin
AlexandreT-DC29-Jun-09 6:09
AlexandreT-DC29-Jun-09 6:09 
QuestionLOGFONT structure.. Pin
kumar sanghvi29-Jun-09 5:23
kumar sanghvi29-Jun-09 5:23 
AnswerRe: LOGFONT structure.. Pin
Chris Losinger29-Jun-09 5:45
professionalChris Losinger29-Jun-09 5:45 
GeneralRe: LOGFONT structure.. Pin
kumar sanghvi29-Jun-09 7:49
kumar sanghvi29-Jun-09 7:49 
GeneralRe: LOGFONT structure.. Pin
Chris Losinger29-Jun-09 7:54
professionalChris Losinger29-Jun-09 7:54 
GeneralRe: LOGFONT structure.. Pin
Sarath C29-Jun-09 7:59
Sarath C29-Jun-09 7:59 
GeneralRe: LOGFONT structure.. Pin
Randor 29-Jun-09 8:03
professional Randor 29-Jun-09 8:03 
QuestionDeployment Problem - Nothing Happens when run! Pin
Grahamfff29-Jun-09 4:07
Grahamfff29-Jun-09 4:07 
AnswerRe: Deployment Problem - Nothing Happens when run! Pin
Cedric Moonen29-Jun-09 4:27
Cedric Moonen29-Jun-09 4:27 
QuestionMDI OnDraw never being called Pin
transoft29-Jun-09 3:13
transoft29-Jun-09 3:13 
AnswerRe: MDI OnDraw never being called Pin
Alan Balkany29-Jun-09 5:23
Alan Balkany29-Jun-09 5:23 
AnswerRe: MDI OnDraw never being called Pin
Ozer Karaagac29-Jun-09 11:45
professionalOzer Karaagac29-Jun-09 11:45 
GeneralRe: MDI OnDraw never being called Pin
transoft30-Jun-09 2:02
transoft30-Jun-09 2:02 
GeneralRe: MDI OnDraw never being called Pin
Ozer Karaagac30-Jun-09 2:39
professionalOzer Karaagac30-Jun-09 2:39 
QuestionGetting #include {iostream} to work Pin
JaeBeam29-Jun-09 3:09
JaeBeam29-Jun-09 3:09 
QuestionRe: Getting #include {iostream} to work Pin
David Crow29-Jun-09 3:16
David Crow29-Jun-09 3:16 
JokeRe: Getting #include {iostream} to work Pin
Rajesh R Subramanian29-Jun-09 3:18
professionalRajesh R Subramanian29-Jun-09 3:18 
JokeRe: Getting #include {iostream} to work Pin
CPallini2-Jul-09 9:57
mveCPallini2-Jul-09 9:57 
GeneralRe: Getting #include {iostream} to work Pin
Rajesh R Subramanian2-Jul-09 17:52
professionalRajesh R Subramanian2-Jul-09 17:52 
AnswerRe: Getting #include {iostream} to work Pin
josda100029-Jun-09 4:56
josda100029-Jun-09 4:56 
AnswerRe: Getting #include {iostream} to work Pin
Randor 29-Jun-09 4:57
professional Randor 29-Jun-09 4:57 

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.