Click here to Skip to main content
15,894,540 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem implementing FIR code(nuhertz) Pin
Stuart Dootson29-Apr-10 2:40
professionalStuart Dootson29-Apr-10 2:40 
QuestionRe: Problem implementing FIR code(nuhertz) Pin
David Crow29-Apr-10 2:48
David Crow29-Apr-10 2:48 
Questionproblem with CSplitButton::SetDropDownMenu method Pin
A&Ms28-Apr-10 9:47
A&Ms28-Apr-10 9:47 
QuestionJPEG 2 PDF Creation [modified] Pin
Game-point28-Apr-10 6:36
Game-point28-Apr-10 6:36 
QuestionRe: JPEG 2 PDF Creation Pin
David Crow28-Apr-10 7:48
David Crow28-Apr-10 7:48 
AnswerRe: JPEG 2 PDF Creation Pin
Game-point28-Apr-10 8:02
Game-point28-Apr-10 8:02 
Questionrun , show and application in my project and handle its forms Pin
iman_kh28-Apr-10 3:44
iman_kh28-Apr-10 3:44 
AnswerRe: run , show and application in my project and handle its forms Pin
Chris Losinger28-Apr-10 4:18
professionalChris Losinger28-Apr-10 4:18 
AnswerRe: run , show and application in my project and handle its forms Pin
Xeqtr28-Apr-10 7:29
Xeqtr28-Apr-10 7:29 
QuestionHow to open a file with UNICODE filename on Windows? Pin
zengkun10028-Apr-10 3:24
zengkun10028-Apr-10 3:24 
AnswerRe: How to open a file with UNICODE filename on Windows? Pin
Richard MacCutchan28-Apr-10 3:29
mveRichard MacCutchan28-Apr-10 3:29 
GeneralRe: How to open a file with UNICODE filename on Windows? Pin
zengkun10028-Apr-10 13:25
zengkun10028-Apr-10 13:25 
GeneralRe: How to open a file with UNICODE filename on Windows? Pin
Richard MacCutchan28-Apr-10 22:18
mveRichard MacCutchan28-Apr-10 22:18 
GeneralRe: How to open a file with UNICODE filename on Windows? Pin
zengkun10029-Apr-10 3:44
zengkun10029-Apr-10 3:44 
AnswerRe: How to open a file with UNICODE filename on Windows? Pin
Fareed Rizkalla28-Apr-10 3:58
Fareed Rizkalla28-Apr-10 3:58 
GeneralRe: How to open a file with UNICODE filename on Windows? Pin
zengkun10028-Apr-10 13:09
zengkun10028-Apr-10 13:09 
QuestionIShellItem / Win32 Pin
Fareed Rizkalla28-Apr-10 3:07
Fareed Rizkalla28-Apr-10 3:07 
Questionvc++ exe failing to run Pin
rupeshkp72828-Apr-10 1:27
rupeshkp72828-Apr-10 1:27 
AnswerRe: vc++ exe failing to run Pin
Cedric Moonen28-Apr-10 1:30
Cedric Moonen28-Apr-10 1:30 
AnswerRe: vc++ exe failing to run Pin
rupeshkp72828-Apr-10 1:43
rupeshkp72828-Apr-10 1:43 
GeneralRe: vc++ exe failing to run Pin
Cedric Moonen28-Apr-10 1:53
Cedric Moonen28-Apr-10 1:53 
GeneralRe: vc++ exe failing to run Pin
rupeshkp72828-Apr-10 18:55
rupeshkp72828-Apr-10 18:55 
QuestionIs explorer no longer hookable? [modified] Pin
Code-o-mat28-Apr-10 1:20
Code-o-mat28-Apr-10 1:20 
Hello people!

In a "home project" i tried to inject a DLL into explorer's process with the "CreateRemoteThread" and the "Hook" method. Both seems to work fine for other processes (tried with notepad.exe, tried with a simple test app of my own...) but if i try to use explorer's process...major FAIL. The "CreateRemoteThread" method causes an instant reboot of the system. If i try to use the other method i either get "access denied" when trying to install a hook using SetWindowsHookEx into explorer's GUI thread, or if i install a global hook it simply does not get called for explorer only for other processes. With both methods i have enabled the "debug" privilege on "my own" process' access token.
So my question is simply this: does the system no longer allow DLL injecting into explorer? I googled around and i have found many references of this being possible, i mean, to inject DLLs to explorer with both methods, however, i did not find anything conclusive about this no longer being allowed, and since the articles that say it is possible are mostly rather old, things might have changed since then (new Service Packs came out, new patches for XP, and so on...). I checked my code against examples i have found online but i see no major differences, and i supose if the code itself was bad then it would not work for other processes either. I tried this on XP Pro SP3 if it matters.

Thanks for any hints in advance.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
modified on Wednesday, April 28, 2010 10:55 AM

AnswerRe: Is explorer no longer hookable? Pin
Randor 30-Apr-10 6:01
professional Randor 30-Apr-10 6:01 
GeneralRe: Is explorer no longer hookable? Pin
Code-o-mat30-Apr-10 23:09
Code-o-mat30-Apr-10 23:09 

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.