Solved

Question loading exe from a resource

Posted on 1998-11-26
2
221 Views
Last Modified: 2013-11-20
Hi there,
          Say I've imported a .exe file into the resource, which function can be used to execute this .exe file from the resource, say the ID for the .exe file is IDR_EXEFILE.

Any help offered is very much appreciated!!!
0
Comment
Question by:justinng
2 Comments
 
LVL 2

Accepted Solution

by:
cyrilbdt earned 10 total points
ID: 1325350
load resource write it to disk and then execute.
FindResource(), LoadResource(), LockResource() then write to disk, CreateProcess.

P.S. Sound like trowan ;)
0
 

Expert Comment

by:Keytonic
ID: 13232355
is there a way to do this from memory with out writing to disk ?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
set up trigger (or something) to rename files (starting with ATL) in a linux directory 6 55
sameEnds challenge 3 179
Doc'in system (example?) BA 7 115
Detect file exist or not 3 178
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question