Click here to Skip to main content
15,913,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CFile used together with Lined List Pin
David Crow29-Aug-07 3:21
David Crow29-Aug-07 3:21 
QuestionHow make a dll in VC++ to use in C#? Pin
Rui A Sousa28-Aug-07 16:29
Rui A Sousa28-Aug-07 16:29 
AnswerRe: How make a dll in VC++ to use in C#? Pin
Karismatic28-Aug-07 20:25
Karismatic28-Aug-07 20:25 
GeneralRe: How make a dll in VC++ to use in C#? Pin
Rui A Sousa29-Aug-07 3:33
Rui A Sousa29-Aug-07 3:33 
GeneralRe: How make a dll in VC++ to use in C#? Pin
Hamid_RT29-Aug-07 7:51
Hamid_RT29-Aug-07 7:51 
QuestionOpenFileMapping call Fails on VISTA Pin
praveenpl28-Aug-07 13:53
praveenpl28-Aug-07 13:53 
QuestionWhy ain't this in the docs? Pin
Waldermort28-Aug-07 13:24
Waldermort28-Aug-07 13:24 
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 

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.