Solved

Question loading exe from a resource

Posted on 1998-11-26
2
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 72
Named range not carried over 10 71
List out all word 7 359
child constructor and parent constructor, overriding and overloading 6 95
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.

710 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