Recent

Author Topic: [SOLVED]How to use the fcl-res subpackage for fileversion info on Linux?  (Read 1968 times)

Kepsz

  • New Member
  • *
  • Posts: 20
I wish to get fileversion info on Linux, like how it's explained here: http://wiki.freepascal.org/Show_Application_Title,_Version,_and_Company#Implementations_using_FPC_2.6.x But the
Code: Pascal  [Select][+][-]
  1.  TResourceStream
are an unknown and if i'm right that's defined in fcl-res. The fcl-res package are a subpackage of the fcl package. http://wiki.freepascal.org/FCL

The fcl package are installed by default, but how to use it? I'm confused.

Or if there an other method for reading fileversion info on Linux, please show me.
« Last Edit: September 29, 2016, 11:38:53 am by Kepsz »

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9231
  • FPC developer.
Re: How to use the fcl-res subpackage for fileversion info on Linux?
« Reply #1 on: September 29, 2016, 11:28:59 am »
Include unit classes.

Thaddy

  • Hero Member
  • *****
  • Posts: 10748
Re: How to use the fcl-res subpackage for fileversion info on Linux?
« Reply #2 on: September 29, 2016, 11:30:41 am »
TResourceStream is in classes.pas. So add that.
[edit]
Sorry Marco, crossed

Kepsz

  • New Member
  • *
  • Posts: 20
Re: How to use the fcl-res subpackage for fileversion info on Linux?
« Reply #3 on: September 29, 2016, 11:38:18 am »
Classes... OH!

Thank you guys!

 

TinyPortal © 2005-2018