Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Question loading exe from a resource

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
justinng
Asked:
justinng
1 Solution
 
cyrilbdtCommented:
load resource write it to disk and then execute.
FindResource(), LoadResource(), LockResource() then write to disk, CreateProcess.

P.S. Sound like trowan ;)
0
 
KeytonicCommented:
is there a way to do this from memory with out writing to disk ?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now