Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? PinPopular
Maximilien13-Jul-10 9:55
Maximilien13-Jul-10 9:55 
GeneralRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Niklas L14-Jul-10 1:13
Niklas L14-Jul-10 1:13 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Niklas L13-Jul-10 9:56
Niklas L13-Jul-10 9:56 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
EverettJF13-Jul-10 14:47
EverettJF13-Jul-10 14:47 
GeneralRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Rick York13-Jul-10 16:32
mveRick York13-Jul-10 16:32 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Aescleal13-Jul-10 21:47
Aescleal13-Jul-10 21:47 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
josda100014-Jul-10 6:26
josda100014-Jul-10 6:26 
QuestionDLL injection at start time. Pin
Code-o-mat13-Jul-10 6:13
Code-o-mat13-Jul-10 6:13 
Hello people!

I'm experimenting with DLL injection and API hooking, there's no real goal to it, just playing around. So, injecting a DLL into a running process and hooking methods works fine, i have done that a few times already in the past so i have some experience.
Now, what i tried this time is to create a process with CreateProcess[^], specifying the flag CREATE_SUSPENDED to create the process' main thread suspended, then, i used the CreateRemoteThread method to inject a DLL, do some API hooking, and then called ResumeThread on the process' main thread. When i do this i hear a *clonk* soundeffect and the runned process does not start/exists prematurely. So i wonder, what could cause this? If i run the process "normally" and inject the DLL (with the same remote thread method) it works as expected.
Can anyone shed some light on this? Thanks for the answers.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

QuestionWord automation using MFC - how to hide Word toolbar and menu bar Pin
Member 422150713-Jul-10 4:46
Member 422150713-Jul-10 4:46 
QuestionUsing Open SSL Pin
Rajmohan SK13-Jul-10 3:54
Rajmohan SK13-Jul-10 3:54 
AnswerRe: Using Open SSL Pin
Aescleal13-Jul-10 4:11
Aescleal13-Jul-10 4:11 
GeneralRe: Using Open SSL Pin
Rajmohan SK13-Jul-10 17:57
Rajmohan SK13-Jul-10 17:57 
Questionconst string reference variables Pin
apphia_j_7913-Jul-10 2:43
apphia_j_7913-Jul-10 2:43 
AnswerRe: const string reference variables Pin
Cedric Moonen13-Jul-10 2:47
Cedric Moonen13-Jul-10 2:47 
GeneralRe: const string reference variables Pin
apphia_j_7913-Jul-10 3:24
apphia_j_7913-Jul-10 3:24 
GeneralRe: const string reference variables Pin
Cedric Moonen13-Jul-10 3:32
Cedric Moonen13-Jul-10 3:32 
QuestionRe: const string reference variables Pin
CPallini13-Jul-10 2:58
mveCPallini13-Jul-10 2:58 
AnswerRe: const string reference variables Pin
Aescleal13-Jul-10 3:52
Aescleal13-Jul-10 3:52 
AnswerRe: const string reference variables Pin
Niklas L13-Jul-10 4:42
Niklas L13-Jul-10 4:42 
QuestionC2782 Pin
T.RATHA KRISHNAN13-Jul-10 1:47
T.RATHA KRISHNAN13-Jul-10 1:47 
AnswerRe: C2782 Pin
Cedric Moonen13-Jul-10 2:09
Cedric Moonen13-Jul-10 2:09 
AnswerRe: C2782 Pin
Emilio Garavaglia13-Jul-10 7:20
Emilio Garavaglia13-Jul-10 7:20 
Questionimport a registry file in the registry editor Pin
mazizi13-Jul-10 1:07
mazizi13-Jul-10 1:07 
AnswerRe: import a registry file in the registry editor Pin
Electron Shepherd13-Jul-10 3:05
Electron Shepherd13-Jul-10 3:05 
GeneralRe: import a registry file in the registry editor Pin
mazizi13-Jul-10 19:14
mazizi13-Jul-10 19:14 

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.