yoy.be "Why-o-Why"

Application version: alternative to GetFileVersionInfo

2006-11-02 23:50  r640  delphi  [permalink]

Application version: alternative to GetFileVersionInfo

Changed the "0"'s to SysInit's HInstance in the resource calls. Apparently this is important when using this code from a DLL. By using 0 you get the version of the process' exe, not the real 'module' the code is running from. E.g. when writing a DLL that is loaded by explorer.exe, iexplore.exe, etc.

twitter reddit linkedin facebook