Re: Execute a program only from memory? RAMDisk?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 06/02/04


Date: Wed, 2 Jun 2004 17:41:38 -0400


"Carlo M." <cmoretto@intrawestdev.com> wrote in message
news:10bse8fcu91so29@corp.supernews.com...
> Hi,
>
> I would like to execute a program *only* from RAM. IE: the program is
loaded
> and manipulated in RAM, *never saved to the actual disk* - and then
> executed.
>
> I believe this is possible if I use a RAM drive, but I am not familiar
with
> that, and have been unable to locate anything on the web that directly
> explains how to accomplish what I want.

    Using a RAM drive is no different from using any disk drive.

    To run a program which is already in memory is very difficult. You need
to replicate all of the functionality of the Windows program loader. An
online search might turn up solutions other propel have come up with.

    It really is substantially easier to save the program as a temporary
file which you can run and then delete.

-- 
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-gchanson@mvps.org