Solved

Question loading exe from a resource

Posted on 1998-11-26
2
220 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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