Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Get executable version if file is in stream? (https://www.delphipraxis.net/161634-get-executable-version-if-file-stream.html)

WojTec 13. Jul 2011 14:29

Delphi-Version: 2010

Get executable version if file is in stream?
 
Is possible get executable version if this executable is in stream (file, memory, doesn't matter)? How to do it? GetFileVersionInfoSize() and GetFileVersionInfo() requires file on input.

himitsu 13. Jul 2011 14:56

AW: Get executable version if file is in stream?
 
The file version is stored in the resources, they must extract from the stream and you can then parse it yourself.


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz