Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-02

Full_Version_String in an application

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Nikolai Zhubr

Hello people,

Is it possible in an application to somehow get the information about FPC version was used to compile this application (in the form of string or integers, whatever)?

Yes, I've searched through sources and googled, but still can't get it.

Thank you.

Nikolai

Reply by email

Nikolai Zhubr
to Nikolai Zhubr

19.02.2010 0:43, Nikolai Zhubr:

Is it possible in an application to somehow get the information about FPC version was used to compile this application (in the form of string or integers, whatever)?

P.S.: I'm not asking about conditional defines (I know about them, of course, but they are not quite convenient for what I want)

Show quoted text 6 lines
Nikolai _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

JoshyFun
to Nikolai Zhubr: Is it possible in an application to somehow get the information about FPC version was…

Hello Nikolai,

Thursday, February 18, 2010, 10:43:54 PM, you wrote:

NZ> Hello people,

NZ> Is it possible in an application to somehow get the information about NZ> FPC version was used to compile this application (in the form of string NZ> or integers, whatever)?

NZ> Yes, I've searched through sources and googled, but still can't get it.

I'm using:

CreatedUsing:='Created using Lazarus '+LCLVersion+' and free pascal '+{
$I %FPCVERSION%}+' ('+{$I %DATE%}+' '+{$I %TIME%}+')';
Best regards, JoshyFun

Reply by email

Nikolai Zhubr
to JoshyFun

19.02.2010 1:24, JoshyFun:

I'm using: CreatedUsing:='Created using Lazarus '+LCLVersion+' and free pascal '+{ $I %FPCVERSION%}+' ('+{$I %DATE%}+' '+{$I %TIME%}+')';

Cool! I'll use this. Thank you very much!

Nikolai

Reply by email