Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionHow to make a derived CEdit more perfect? Pin
whiteclouds27-Apr-10 22:49
whiteclouds27-Apr-10 22:49 
AnswerRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 1:48
Eugen Podsypalnikov28-Apr-10 1:48 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 2:06
whiteclouds28-Apr-10 2:06 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 2:14
Eugen Podsypalnikov28-Apr-10 2:14 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 16:39
whiteclouds28-Apr-10 16:39 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 20:00
Eugen Podsypalnikov28-Apr-10 20:00 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 20:20
whiteclouds28-Apr-10 20:20 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 20:31
Eugen Podsypalnikov28-Apr-10 20:31 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds29-Apr-10 1:42
whiteclouds29-Apr-10 1:42 
QuestionCEGUI related issues Pin
pointSX201027-Apr-10 21:33
pointSX201027-Apr-10 21:33 
AnswerRe: CEGUI related issues Pin
hanq_3891013027-Apr-10 21:50
hanq_3891013027-Apr-10 21:50 
GeneralRe: CEGUI related issues Pin
pointSX201028-Apr-10 15:41
pointSX201028-Apr-10 15:41 
AnswerRe: CEGUI related issues Pin
Eugen Podsypalnikov28-Apr-10 1:33
Eugen Podsypalnikov28-Apr-10 1:33 
GeneralRe: CEGUI related issues Pin
pointSX201028-Apr-10 15:48
pointSX201028-Apr-10 15:48 
QuestionHow does this template work Pin
AkashAg27-Apr-10 20:39
AkashAg27-Apr-10 20: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.