Recent

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

Kepsz

  • New Member
  • *
  • Posts: 32
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

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • 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: 14373
  • Sensorship about opinions does not belong here.
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
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Kepsz

  • New Member
  • *
  • Posts: 32
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