Board index » delphi » win 32 exe's = win 16 exe's

win 32 exe's = win 16 exe's

yow

could anybody please tell me how you can see if you deal with an application
that works with dos (*.exe) or an application that works with windows only
(*.exe)

                                        thanks in advance

 

Re:win 32 exe's = win 16 exe's


Quote
El Bliekyus wrote in message <7l8j0o$86...@nickel.uunet.be>...
>yow

>could anybody please tell me how you can see if you deal with an
application
>that works with dos (*.exe) or an application that works with windows only
>(*.exe)

>                                        thanks in advance

A 32-bit application will not open in a 16-bit environment.  It will fail!
The only way to know what code is inside the *.exe is to try it.

Marko
---------------
m...@godex.com

Re:win 32 exe's = win 16 exe's


Hi guys.  The first two bytes of a 32-bit EXE should be "PE".  Older
EXEs have "NE" or "MZ".  DOS programs begin with binary data.

        - scv (scott)

Quote
Marko wrote:

> El Bliekyus wrote in message <7l8j0o$86...@nickel.uunet.be>...
> >yow

> >could anybody please tell me how you can see if you deal with an
> application
> >that works with dos (*.exe) or an application that works with windows only
> >(*.exe)

> >                                        thanks in advance

> A 32-bit application will not open in a 16-bit environment.  It will fail!
> The only way to know what code is inside the *.exe is to try it.

> Marko
> ---------------
> m...@godex.com

--
-------------------------------
s.c.virtes
stamps - stories - software - astronomy
http://www.scvs.com/scv/
-------------------------------

Re:win 32 exe's = win 16 exe's


Im Artikel <3777FD10.5...@scvs.com>, "s.c.virtes" <st...@scvs.com> schreibt:

Quote
>Hi guys.  The first two bytes of a 32-bit EXE should be "PE".  Older
>EXEs have "NE" or "MZ".  DOS programs begin with binary data.

All relocatable executable files begin with "MZ", and can be started from the
DOS prompt. But under DOS only the "stub" executes, and usually states that the
program can run only under Windows, or tries to start Windows itself. The "NE",
"PE", "LE" etc. magics reside at the begin of the Windows executable part of
the file, not at the begin. Non-relocatable DOS programs have no magic ID, and
usually have a *.COM or *.BIN name.

DoDi

Other Threads