Solved

Question loading exe from a resource

Posted on 1998-11-26
2
218 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
Comment Utility
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
Comment Utility
is there a way to do this from memory with out writing to disk ?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Host to IP 7 73
unable to delete all specified values regedit 38 149
Detect CR LF to each line 12 137
sum67 challenge 35 89
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now