Mattias Gärtner ha scritto:
Zitat von Alvise Nicoletti <[EMAIL PROTECTED]>:
Mattias Gaertner ha scritto:
On Thu, 25 Oct 2007 17:52:42 +0200
Alvise Nicoletti <[EMAIL PROTECTED]> wrote:
Hi...
Configuring a program into "project options" I have a
"application.title:= 'title'" added after the begin of my program...
Also, a resource is added for the compiler (PoolPatrol.res).
After that, when I try to compile, I get both a "identifier not found
Application" and a "can't open resource file applicationname.res".
Application is the central object of an LCL program. It is defined in
lcl/forms.pp and requires one of the provided widgetsets.
I'm not sure about res file problem.
What kind of resources do you want to store in your linux daemon?
Is that feature working only on visual applications?
Yes, because at the moment the current widgetsets are all visual.
Is it possible to make it work someway on a linux program? (I'm using
it as linux service).
windows: 'service' ~ linux: 'daemon'
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Ok, so it's not working on RTL.
The feature I wanted to use was the versioning of the program, setting
the main versions plus an automatic increase of the "build" labeling.
Is it possible on a linux DAEMON?
Not like windows, because afaik linux programs do not have a standard for
storing the version number in the binary. So even you store it somehow in the
binary, no program will show it.
Under linux normally the version is shown in the help message, when starting a
daemon with the '-v' or '-h' switch. And it is written in the documentation.
The auto increasing of the version number is not yet implemented in lazarus and
it is also not yet implemented to pass somehow the version to the compiler
and/or source code. So you have to increase/add it manually.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Ok thank you, at least now I know what is supported and what is not.
It would not be bad to "hide" the project option part if it inserts in
the code an "application" and a "resource file" references with a linux
non-lcl project opened.
I was already thinking about the "-v" command (like in other linux
daemons)... I think i'll do it like that.
Bye
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives