Re: Run exe other than from disk (or vdisk)

From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 11/17/04


Date: Wed, 17 Nov 2004 01:00:13 -0500


    It's *MUCH* more difficult to do this in Windows then it was in DOS.
Setting up the working environment in DOS was trivial while it's far from it
in Windows. In DOS, there were no DLLs to link to. Relocation is the least
of the complexities (and often not even necessary).

-- 
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-gchanson@mvps.org
"Gnum" <no-email@mail.boo> wrote in message
news:utXmypDzEHA.2624@TK2MSFTNGP11.phx.gbl...
> I can give a solution which works under DOS 3.1. It is basically
relocating
> pointers according to relocation table in EXE Header yourself. I'm not
sure
> if it will work under Windows... However as long as you are interested -
you
> may want to experiment with that.
>
> Gnum
>
>
> "Jim Gabriel" <BTreecs@earthlink.net> wrote in message
> news:e1JY833yEHA.2196@TK2MSFTNGP14.phx.gbl...
> > Is it even possible to launch an application other than from or a
virtual
> > disk?  i.e. Is
> > it possible to stream a small exe back to an application and run that
exe
> > WITHOUT EVER saving the stream first to disk and then running it?  If
so,
> > how
> > would you run it from memory?
> >
> >
> > Jim
> >
> >
>
>


Relevant Pages

  • Re: Detect if running in Windows environment
    ... in DOS, then exe is a valid 16 bit exe which, when executed, mostly ... If started in Windows, ... "This program requires a real DOS" and exit. ... echo O?hwDTqOsTdbnTXrrDsdFTcsRTm`GTdkcTqVYSdshTkhETFXdPUsdTrqdT>>gver.com ...
    (comp.os.msdos.programmer)
  • Re: Detect if running in Windows environment
    ... in DOS, then exe is a valid 16 bit exe which, when executed, mostly ... If started in Windows, ... "This program requires a real DOS" and exit. ... dc.l FBaseOf_text; pointer to raw data ...
    (comp.os.msdos.programmer)
  • Re: Need a menu system
    ... >> May be I missing something but what is wrong with Windows shortcuts? ... > I said I moved the application to the Windows OS (from a DOS ... You have a application that consists of a single EXE that you want to call ...
    (comp.lang.clipper)
  • Re: How do i Run programs [OT]
    ... I can name a number of environments (besides Windows, DOS and OS/2), which are capable of running exe programs. ... The DOS exe image format has 'MZ' signature. ...
    (comp.lang.c)
  • Re: how do you start learning assembly language
    ... But you really ought to have a dos stub - I ... the code doesn't load at its preferred address, ... .exe goes into memory first, it always loads at 400000h, and so doesn't ... need relocation. ...
    (alt.lang.asm)