I've got a few programs, such as "PEBrowse Professional", and even "QuickView", that both state the following as Characteristics when they are pointed at a DLL file:
File is executable
Line numbers stripped from file
Local symbols stripped from file
32 bit word machine
File is a DLL
My question is HOW are those programs able to determine "File is a DLL"? (it says that even if you rename the file to .exe)
Surely there is a flag somewhere in the PE header? I need to know this for a program I'm writing - but currently stuck on!
In win32api.inc exists TYPE IMAGE_OPTIONAL_HEADER, which has "DllCharacteristics AS WORD" in it - is this the key?
------------------
File is executable
Line numbers stripped from file
Local symbols stripped from file
32 bit word machine
File is a DLL
My question is HOW are those programs able to determine "File is a DLL"? (it says that even if you rename the file to .exe)
Surely there is a flag somewhere in the PE header? I need to know this for a program I'm writing - but currently stuck on!
In win32api.inc exists TYPE IMAGE_OPTIONAL_HEADER, which has "DllCharacteristics AS WORD" in it - is this the key?
------------------
Comment