VC6: How do I execute an exe contained in my resources?
C / C++ / MFC
5
Posts
3
Posters
0
Views
1
Watching
-
I'm trying to write a program with visual C++ 6 and I'm wanting to execute an exe file that's contained in my resources. How do I do this?
- Extract the exe resource to memory. 2) Write it to the filesystem. 3) Call CreateProcess(). http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp[^] 4) Optionally delete the exe from the filesystem after CreateProcess has been called.
-
- Extract the exe resource to memory. 2) Write it to the filesystem. 3) Call CreateProcess(). http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp[^] 4) Optionally delete the exe from the filesystem after CreateProcess has been called.
-
I'm trying to write a program with visual C++ 6 and I'm wanting to execute an exe file that's contained in my resources. How do I do this?
You can see an article of Mr David Crow about resource on codeproject maybe its some helpful for you
WhiteSky