简体   繁体   中英

Delphi signature in exe files

type
  TDelphiSignature=record
    Signature:array [0..3] of LongWord;
    Version:string;
  end;

const
  DelphiSignature:array [0..2] of TDelphiSignature=(
    (Signature:($384F3D26,$B83782C2,$034224F3,$833A9B17);Version:'Delphi Entreprise'),
    (Signature:($235D7823,$19F3A5B6,$0240F343,$C711D126);Version:'Delphi Perso'),
    (Signature:($98DF8CA2,$793A3C7B,$093F7126,$17252A0F);Version:'Delphi Pro')
    // ...
  );

The above are version signatures found in Delphi compiled EXE files in the DVCLAL resource. I'm looking for other signatures, such as ones for Architect editions, and more importantly, for version numbers (6, 7, 8 ...) that are visible in the resource data.

The signature generated by RAD Studio 2010 Architect is the same one you have for Enterprise. The DVCLAL resource only tells you the particular Edition of Delphi/BCB used. Individual Delphi/BCB compiler version numbers are not stored or encoded anywhere in the compiled executable.

Update: I found this to be some useful information about the inner working of the DVCLAL resource:

https://assarbad.net/stuff/miscprogs.zip
(in the \\MiscProgs\\DVCAL\\JeremyRES.html file)

https://web.archive.org/web/20190107185701/https://wiert.files.wordpress.com/2020/11/miscprogs.zip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM