Unit Fexetype

Classes

Functions

ExeType - INCTRL 3 really only needs to know whether the file is a DOS EXE or a Windows EXE.
ExeTypeName - MZ

Types

Constants

ET_BAT
ET_BLANK
ET_COM
ET_DOSEXE
ET_INFFILE
ET_NOEXIST
ET_NOTEXE
ET_PEXE
ET_UNKNOWN
ET_WINEXE

Variables


Functions


FUNCTION ExeType(const TheName : String; Platform : Integer) : Integer;

INCTRL 3 really only needs to know whether the file is a DOS EXE or a Windows EXE. However, there are Win32 funtions that make it very easy to get the *type* of an executable file.

!


FUNCTION ExeTypeName(typ : Integer) : String;

MZ

Types


Constants

ET_BAT = 3

ET_BLANK = 0

ET_COM = 2

ET_DOSEXE = 1

ET_INFFILE = 6

ET_NOEXIST = -1

ET_NOTEXE = -2

ET_PEXE = 5

ET_UNKNOWN = -3

ET_WINEXE = 4


Variables