Recent

Author Topic: Obtain file version  (Read 963 times)

badmintonfan

  • New Member
  • *
  • Posts: 49
Obtain file version
« on: May 24, 2024, 09:53:35 am »
How can I get the file version when a main form create

Handoko

  • Hero Member
  • *****
  • Posts: 5224
  • My goal: build my own game engine using Lazarus
Re: Obtain file version
« Reply #1 on: May 24, 2024, 10:06:10 am »
I haven't tried but this seems to be what you're looking for:
https://wiki.freepascal.org/Show_Application_Title,_Version,_and_Company

Zvoni

  • Hero Member
  • *****
  • Posts: 2410
Re: Obtain file version
« Reply #2 on: May 24, 2024, 10:08:28 am »
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Obtain file version
« Reply #3 on: May 24, 2024, 10:15:21 am »
If that dont work, here's another one that should work generic as far as I've read.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

PascalDragon

  • Hero Member
  • *****
  • Posts: 5544
  • Compiler Developer
Re: Obtain file version
« Reply #4 on: May 26, 2024, 10:09:18 pm »
AFAIK, Windows only

No, it's not. The resources are supported at least on the major platforms (Windows, *nix).

 

TinyPortal © 2005-2018