TLPEView partially imitate wjr's PEView

Started by TimoVJL, July 12, 2017, 09:21:37 PM

Previous topic - Next topic

John Z

Hi TimoVJL,

Both work in Win11 23H2 and Win11 24H2

👍
JohnZ

TimoVJL

#31
IMAGE_NT_HEADER isn't 32/64 thing, but i liked to see it in view :)
I use pope.exe quite often, but it lock file.

An idea for build numbers
xxxVer.h
#define VER_FILEVERSION             0,1,1,1
#define VER_FILEVERSION_STR         "0.1.1.1\0"

#define VER_PRODUCTVERSION          0,1,1,1
#define VER_PRODUCTVERSION_STR      "0.1.1.1\0"
with xxxVer.rc#include "xxx.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK 0x3F
FILEFLAGS 0x0
FILEOS 0x00040004L //VOS__WINDOWS32
FILETYPE 1 //VFT_APP
FILESUBTYPE 0 //VFT2_UNKNOWN
{
  BLOCK "StringFileInfo"
  {
    BLOCK "040904B0"
    {
      VALUE "FileDescription", "xxx\0"
      VALUE "FileVersion", VER_FILEVERSION_STR
      VALUE "LegalCopyright", "Copyright © xxx\0"
#ifdef _WIN64
      VALUE "OriginalFilename", "xxx.exe\0"
      VALUE "ProductName", "xxx64.exe\0"
#else
      VALUE "OriginalFilename", "xxx.exe\0"
      VALUE "ProductName", "xxx.exe\0"
#endif
      VALUE "ProductVersion", VER_PRODUCTVERSION_STR
    }
  }
  BLOCK "VarFileInfo"
  {
    VALUE "Translation", 0x409, 0x4B0
  }
}
two string sets aren't important, can use just one set
May the source be with you

Vortex

#32
Hi Timo,

Once again, great job.
Code it... That's all...