Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hooking ExitProcess Pin
Richard Andrew x6425-Aug-07 15:23
professionalRichard Andrew x6425-Aug-07 15:23 
GeneralRe: Hooking ExitProcess Pin
Waldermort25-Aug-07 16:27
Waldermort25-Aug-07 16:27 
GeneralRe: Hooking ExitProcess Pin
Richard Andrew x6425-Aug-07 19:22
professionalRichard Andrew x6425-Aug-07 19:22 
GeneralRe: Hooking ExitProcess Pin
Waldermort26-Aug-07 0:12
Waldermort26-Aug-07 0:12 
AnswerRe: Hooking ExitProcess Pin
Naveen26-Aug-07 19:31
Naveen26-Aug-07 19:31 
GeneralRe: Hooking ExitProcess Pin
Waldermort26-Aug-07 19:43
Waldermort26-Aug-07 19:43 
GeneralRe: Hooking ExitProcess Pin
Naveen26-Aug-07 19:57
Naveen26-Aug-07 19:57 
GeneralRe: Hooking ExitProcess Pin
Waldermort26-Aug-07 20:05
Waldermort26-Aug-07 20:05 
I already thought of that, but there is no saying where the thread would be suspended. In most cases it gets suspended befone winmain is called, but the thread may have already started the initialization procedure; In which case it would be impossible to copy the code over without it crashing.

I need to mimic the winapi CreateProcess, but most of the ntdll functions are undocumented and there are very few examples of their usage.
GeneralRe: Hooking ExitProcess Pin
Naveen26-Aug-07 20:10
Naveen26-Aug-07 20:10 
Questiondatabase and structs Pin
ginjikun25-Aug-07 5:09
ginjikun25-Aug-07 5:09 
AnswerRe: database and structs Pin
Mark Salsbery25-Aug-07 7:02
Mark Salsbery25-Aug-07 7:02 
GeneralRe: database and structs Pin
ginjikun25-Aug-07 15:13
ginjikun25-Aug-07 15:13 
QuestionCButton in DevBloodshed Pin
plural25-Aug-07 4:52
plural25-Aug-07 4:52 
QuestionProblem about CDataGrid (Active control) Pin
kcynic25-Aug-07 4:43
kcynic25-Aug-07 4:43 
QuestionChanging Windows Message Pin
Hirakawa25-Aug-07 0:34
Hirakawa25-Aug-07 0:34 
AnswerRe: Changing Windows Message Pin
bob1697225-Aug-07 6:33
bob1697225-Aug-07 6:33 
GeneralRe: Changing Windows Message Pin
Hirakawa25-Aug-07 7:20
Hirakawa25-Aug-07 7:20 
QuestionHow to disable External Hard Disk Pin
VC_RYK24-Aug-07 23:15
VC_RYK24-Aug-07 23:15 
AnswerRe: How to disable External Hard Disk Pin
Perspx25-Aug-07 13:52
Perspx25-Aug-07 13:52 
QuestionHow to develop a program to solve screen recording questioin Pin
youthdragon24-Aug-07 22:42
youthdragon24-Aug-07 22:42 
AnswerRe: How to develop a program to solve screen recording questioin Pin
Waldermort24-Aug-07 23:09
Waldermort24-Aug-07 23:09 
GeneralRe: How to develop a program to solve screen recording questioin Pin
youthdragon25-Aug-07 13:29
youthdragon25-Aug-07 13:29 
QuestionRe: How to develop a program to solve screen recording questioin Pin
Mark Salsbery25-Aug-07 7:05
Mark Salsbery25-Aug-07 7:05 
QuestionUser Tokens Pin
Richard Andrew x6424-Aug-07 21:41
professionalRichard Andrew x6424-Aug-07 21:41 
QuestionRe: User Tokens Pin
Perspx25-Aug-07 14:08
Perspx25-Aug-07 14:08 

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.