Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSoundcards - advanced interfaces Pin
peterchen19-Feb-04 3:14
peterchen19-Feb-04 3:14 
GeneralRe: Soundcards - advanced interfaces Pin
Prakash Nadar19-Feb-04 5:18
Prakash Nadar19-Feb-04 5:18 
GeneralOverriding HyperLink in CHtmlEditCtrl Pin
panzerdivisionmarkus19-Feb-04 2:43
panzerdivisionmarkus19-Feb-04 2:43 
GeneralExecuting an exe file without using shell commands like execv or ShellExecute etc Pin
Member 48989819-Feb-04 1:05
Member 48989819-Feb-04 1:05 
GeneralRe: Executing an exe file without using shell commands like execv or ShellExecute etc Pin
David Crow19-Feb-04 3:02
David Crow19-Feb-04 3:02 
GeneralRe: Executing an exe file without using shell commands like execv or ShellExecute etc Pin
Michael Dunn19-Feb-04 4:41
sitebuilderMichael Dunn19-Feb-04 4:41 
GeneralRe: Executing an exe file without using shell commands like execv or ShellExecute etc Pin
Prakash Nadar19-Feb-04 5:14
Prakash Nadar19-Feb-04 5:14 
GeneralRe: Executing an exe file without using shell commands like execv or ShellExecute etc Pin
Anonymous19-Feb-04 12:37
Anonymous19-Feb-04 12:37 
Didn't try it myself (and honestly don't see a need for that, creating temp file should work), but here is an idea.
You probably will need to use native api and repeat the steps the OS doing.
Look at ZwCreateSection (create pagefile backed section, map it, write you data there), ZwCreateProcess or NtCreateProcess, NtCreateThread... + some initialization.
The main problem here is the lack of documentation.
How the CreateProcess works:
http://www.microsoft.com/mspress/books/sampchap/4354a.asp

Or you can try to call CreateProcess and by hooking ZwCreateSection and ZwMapViewOfSection trick it into initializaing and executing executing the code in you buffer

Edward


QuestionHow to make transparent CProgress in CDialog ? Pin
vgrigor19-Feb-04 0:12
vgrigor19-Feb-04 0:12 
AnswerRe: How to make transparent CProgress in CDialog ? Pin
Prakash Nadar19-Feb-04 2:20
Prakash Nadar19-Feb-04 2:20 
GeneralRe: How to make transparent CProgress in CDialog ? Pin
vgrigor19-Feb-04 4:19
vgrigor19-Feb-04 4:19 
QuestionChange the bitmap in a Toolbar? Pin
LittleYellowBird19-Feb-04 0:07
LittleYellowBird19-Feb-04 0:07 
AnswerRe: Change the bitmap in a Toolbar? Pin
Robert A. T. Káldy19-Feb-04 3:16
Robert A. T. Káldy19-Feb-04 3:16 
GeneralRe: Change the bitmap in a Toolbar? Pin
LittleYellowBird19-Feb-04 4:41
LittleYellowBird19-Feb-04 4:41 
GeneralRe: Change the bitmap in a Toolbar? Pin
l a u r e n19-Feb-04 8:39
l a u r e n19-Feb-04 8:39 
GeneralShellExecuteEx multiple selection Pin
Aviv Halperin18-Feb-04 23:04
Aviv Halperin18-Feb-04 23:04 
GeneralPush Buttons Pin
ffazly18-Feb-04 21:31
ffazly18-Feb-04 21:31 
GeneralRe: Push Buttons Pin
P-Rex18-Feb-04 22:30
P-Rex18-Feb-04 22:30 
GeneralRe: Push Buttons Pin
ffazly19-Feb-04 19:25
ffazly19-Feb-04 19:25 
GeneralRtf editor in a dialog based app Pin
Filomela18-Feb-04 21:15
Filomela18-Feb-04 21:15 
GeneralSerial Communication - Laptop and PDA Pin
Deepa Gopal18-Feb-04 20:47
Deepa Gopal18-Feb-04 20:47 
GeneralRe: Serial Communication - Laptop and PDA Pin
J.B.19-Feb-04 3:39
J.B.19-Feb-04 3:39 
GeneralCalculate file size while creating avi video Pin
oliverlin18-Feb-04 20:31
oliverlin18-Feb-04 20:31 
GeneralCan anyone help me ? Pin
oliverlin19-Feb-04 15:30
oliverlin19-Feb-04 15:30 
GeneralNeed help with C++ vs C# resource problem Pin
Matt Philmon18-Feb-04 19:32
Matt Philmon18-Feb-04 19: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.