Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A window into a big world Pin
Christian Graus12-May-01 11:42
protectorChristian Graus12-May-01 11:42 
GeneralRe: A window into a big world Pin
Pros Chum12-May-01 12:20
Pros Chum12-May-01 12:20 
GeneralRe: A window into a big world Pin
Christian Graus12-May-01 13:29
protectorChristian Graus12-May-01 13:29 
GeneralRe: A window into a big world Pin
Ting16-May-01 11:16
Ting16-May-01 11:16 
GeneralRe: A window into a big world Pin
Christian Graus16-May-01 12:17
protectorChristian Graus16-May-01 12:17 
GeneralRe: A window into a big world Pin
David Fleming14-May-01 15:34
David Fleming14-May-01 15:34 
GeneralChallege Quistion: How to execute program from memory block Pin
12-May-01 7:02
suss12-May-01 7:02 
GeneralRe: Challege Quistion: How to execute program from memory block Pin
Gert Boddaert13-May-01 22:17
Gert Boddaert13-May-01 22:17 
As far as I know you cannot do that.
What you can do is create a temporary file for the .exe with the FILE_FLAG_DELETE_ON_CLOSE flag:
search in MSDN for FILE_FLAG_DELETE_ON_CLOSE and Jeffrey Richter's Win32 Q&A Januari 1998.
This makes sure the file is deleted after all the refering handles are closed.
What you also could try is experimenting with the Win32 API call WriteProcessMemory...

Best regards.

--------------------------------------------------
If my messages appear curt, I apologize.
I try to be brief to save your time as well as mine.
--------------------------------------------------

GeneralAvoiding the windows error messageboxes to appear when WriteFile, CopyFile... and disk is removed Pin
Joan M12-May-01 0:44
professionalJoan M12-May-01 0:44 
GeneralRe: Avoiding the windows error messageboxes to appear when WriteFile, CopyFile... and disk is removed Pin
Tomasz Sowinski12-May-01 1:46
Tomasz Sowinski12-May-01 1:46 
Questionhow to convert a _variant_t to recordset in vc++? Pin
11-May-01 23:01
suss11-May-01 23:01 
AnswerRe: how to convert a _variant_t to recordset in vc++? Pin
chenzhu12-May-01 3:18
chenzhu12-May-01 3:18 
GeneralRe: how to convert a _variant_t to recordset in vc++? Pin
13-May-01 0:07
suss13-May-01 0:07 
Questionhow to PtinLine Function? Pin
11-May-01 17:00
suss11-May-01 17:00 
AnswerRe: how to PtinLine Function? Pin
Christian Graus12-May-01 2:55
protectorChristian Graus12-May-01 2:55 
GeneralglReadPixels() Help! Pin
11-May-01 16:52
suss11-May-01 16:52 
GeneralRe: glReadPixels() Help! Pin
l a u r e n11-May-01 21:16
l a u r e n11-May-01 21:16 
GeneralRe: glReadPixels() Help! Pin
Jonathan de Halleux30-Oct-01 1:23
Jonathan de Halleux30-Oct-01 1:23 
GeneralCDROM drive Pin
Cathy11-May-01 14:07
Cathy11-May-01 14:07 
GeneralRe: CDROM drive Pin
Michael Dunn11-May-01 14:29
sitebuilderMichael Dunn11-May-01 14:29 
GeneralRe: CDROM drive Pin
Cathy11-May-01 14:32
Cathy11-May-01 14:32 
GeneralRe: CDROM drive Pin
netsky12-May-01 23:03
netsky12-May-01 23:03 
GeneralTip on switch/case Pin
Andrew Peace13-May-01 13:18
Andrew Peace13-May-01 13:18 
GeneralInput box on toolbar Pin
Richard Cheng11-May-01 12:54
Richard Cheng11-May-01 12:54 
GeneralRe: Input box on toolbar Pin
Michael Dunn11-May-01 14:32
sitebuilderMichael Dunn11-May-01 14:32 

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.