Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 15:55
Naveen28-Aug-07 15:55 
GeneralRe: Why ain't this in the docs? Pin
Waldermort28-Aug-07 16:02
Waldermort28-Aug-07 16:02 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 16:44
Naveen28-Aug-07 16:44 
GeneralRe: Why ain't this in the docs? Pin
Waldermort28-Aug-07 17:45
Waldermort28-Aug-07 17:45 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 18:40
Naveen28-Aug-07 18:40 
GeneralRe: Why ain't this in the docs? Pin
Waldermort29-Aug-07 2:46
Waldermort29-Aug-07 2:46 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 19:27
Naveen28-Aug-07 19:27 
GeneralRe: Why ain't this in the docs? Pin
Waldermort29-Aug-07 5:05
Waldermort29-Aug-07 5:05 
It may be a 64bit machine, but the exe is 32bit. Also, if you look at the code, before accepting the entry point, I check the PE headers to validate that it points to the correct location.

As far as this project goes, I'm going to have to give up, at least until I install VmWare. For now I will stick with being able to run only console apps, which is the main reason I started this.

The strange thing is, every single article I have found on the topic is the same as my code. I have played around with the TOKEN and SECURITY_DESCRIPTOR structs. But, when the initial pages are allocated for the process, they are done so with the PAGE_EXECUTE_WRITECOPY protection, and I can find no way around this.

I really must test this code on other machines to test if it is a Vista x64 'feature'!
GeneralRe: Why ain't this in the docs? Pin
Waldermort28-Aug-07 16:08
Waldermort28-Aug-07 16:08 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 16:46
Naveen28-Aug-07 16:46 
QuestionMFC Win32 Dialog application not being updated under Win-XP OS. Pin
Ralph_L28-Aug-07 12:24
Ralph_L28-Aug-07 12:24 
AnswerRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
Mark Salsbery28-Aug-07 13:04
Mark Salsbery28-Aug-07 13:04 
QuestionRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
David Crow29-Aug-07 3:23
David Crow29-Aug-07 3:23 
AnswerRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
Mark Salsbery29-Aug-07 6:54
Mark Salsbery29-Aug-07 6:54 
GeneralRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
David Crow29-Aug-07 7:09
David Crow29-Aug-07 7:09 
QuestionUsing the debugger Pin
Waldermort28-Aug-07 10:36
Waldermort28-Aug-07 10:36 
AnswerRe: Using the debugger Pin
Chris Losinger28-Aug-07 10:58
professionalChris Losinger28-Aug-07 10:58 
GeneralRe: Using the debugger Pin
Waldermort28-Aug-07 11:11
Waldermort28-Aug-07 11:11 
GeneralRe: Using the debugger Pin
Chris Losinger28-Aug-07 11:13
professionalChris Losinger28-Aug-07 11:13 
GeneralRe: Using the debugger Pin
Waldermort28-Aug-07 11:18
Waldermort28-Aug-07 11:18 
GeneralRe: Using the debugger Pin
Chris Losinger28-Aug-07 11:25
professionalChris Losinger28-Aug-07 11:25 
GeneralRe: Using the debugger Pin
Waldermort28-Aug-07 11:27
Waldermort28-Aug-07 11:27 
GeneralRe: Using the debugger Pin
ThatsAlok29-Aug-07 0:32
ThatsAlok29-Aug-07 0:32 
QuestionPassing a collection using the Standard Template Library Pin
Leslie Sanford28-Aug-07 10:33
Leslie Sanford28-Aug-07 10:33 
AnswerRe: Passing a collection using the Standard Template Library Pin
Chris Losinger28-Aug-07 10:59
professionalChris Losinger28-Aug-07 10:59 

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.