Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 05:38 AM, Paul Ishenin wrote: 23.03.2011 21:01, Paul Ishenin wrote: 23.03.2011 18:54, patspiper wrote: EInvalidGraphic: Stream is not an icon type I will do a test tomorow. Is the code above compatible with both RT_CURSOR and RT_GROUP_CURSOR resources? I tested it with icons

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Mark Morgan Lloyd
Tobias Giesen wrote: Hello, I now have a netbook computer with an ARM processor running Ubuntu. Ideally I would like to install FPC and Lazarus on it and do native ARM development. I wonder if it might be possible. Can I cross-compile FPC to get a native FPC running on ARM? Or at least can I

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Paul Ishenin
24.03.2011 13:55, patspiper wrote: updated to r30007 and while rebuilding Lazarus:Compiling resource ../units/i386-linux/lazarus.or /home/me/lazarus/lazarus-svn/ide/lazarus.pp(135,1) Error: Error while compiling resources Lazarus 0.9.31 r29900M FPC 2.4.2 i386-linux-gtk 2 I did not

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread zeljko
On Thursday 24 of March 2011 09:04:25 Paul Ishenin wrote: 24.03.2011 13:55, patspiper wrote: updated to r30007 and while rebuilding Lazarus:Compiling resource ../units/i386-linux/lazarus.or /home/me/lazarus/lazarus-svn/ide/lazarus.pp(135,1) Error: Error while compiling resources

Re: [Lazarus] Indy compilation problem revisited.

2011-03-24 Thread Marco van de Voort
On Tue, Mar 22, 2011 at 07:15:57PM +0100, Mattias Gaertner wrote: What do they actually mean, in particular which process is emitting the message Fatal: Can't find unit IdStreamVCL used by IdStream? Process: fpc Meaning: a ppu file is outdated. There is a bug in fpc that can trigger

[Lazarus] Lazarus 0.9.30

2011-03-24 Thread ik
Hello all, I see on soureforge that we have 0.9.30 ready, and my linux distro (ArchLinux) also have in testing 0.9.30, so what else is required for it to be officially released ? Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il --

Re: [Lazarus] Indy compilation problem revisited.

2011-03-24 Thread Mattias Gaertner
On Thu, 24 Mar 2011 09:20:49 +0100 Marco van de Voort mar...@stack.nl wrote: On Tue, Mar 22, 2011 at 07:15:57PM +0100, Mattias Gaertner wrote: What do they actually mean, in particular which process is emitting the message Fatal: Can't find unit IdStreamVCL used by IdStream?

Re: [Lazarus] Sabayon Linux

2011-03-24 Thread Michael Schnell
On 03/23/2011 07:31 PM, Reimar Grabowski wrote: Actually neither KDE nor Gnome nor Enlightenment are window managers. They are desktop environments OK, far Offtopic, but no answer expected: I just talked to a company manager, who used to be a technical developer in his former life and with

Re: [Lazarus] Lazarus 0.9.30

2011-03-24 Thread Juha (gmail)
ik kirjoitti torstai, 24. maaliskuuta 2011 10:23:44: I see on soureforge that we have 0.9.30 ready, and my linux distro (ArchLinux) also have in testing 0.9.30, so what else is required for it to be officially released ? I guess only the announcement. Things must be ready when the announcement

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 10:04 AM, Paul Ishenin wrote: 24.03.2011 13:55, patspiper wrote: updated to r30007 and while rebuilding Lazarus:Compiling resource ../units/i386-linux/lazarus.or /home/me/lazarus/lazarus-svn/ide/lazarus.pp(135,1) Error: Error while compiling resources Lazarus 0.9.31 r29900M FPC

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Michael Schnell
On 03/24/2011 08:55 AM, Mark Morgan Lloyd wrote: I run both FPC and Lazarus natively on ARM. There is a Wiki page about cross compiling. It would be great to have a wiki page on how to set up a native FPC environment on ARM/Linux. -Michael -- ___

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Paul Ishenin
24.03.2011 15:37, patspiper wrote: How can I build the IDE with all packages from the command line? make xxx? lazbuild lazarus.lpi ? Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 10:54 AM, Paul Ishenin wrote: 24.03.2011 15:37, patspiper wrote: How can I build the IDE with all packages from the command line? make xxx? lazbuild lazarus.lpi ? I used make ide OPT=@/path/to/your/config/idemake.cfg to build now: Compiling lazarus.pp Compiling resource

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Paul Ishenin
24.03.2011 15:58, patspiper wrote: Error: Duplicate resource: Type = 24, Name = 1, Lang ID = Somewhere you add another windows manifest. So it seems there is some duplicate resource name that the package adds. The previous Lazarus revisions maybe ignored this resource. How can we get

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 11:05 AM, Paul Ishenin wrote: 24.03.2011 15:58, patspiper wrote: Error: Duplicate resource: Type = 24, Name = 1, Lang ID = Somewhere you add another windows manifest. Can you pls give details as I have no idea about manifests (aren't they Windows specific?) What should I

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 03/24/2011 08:55 AM, Mark Morgan Lloyd wrote: I run both FPC and Lazarus natively on ARM. There is a Wiki page about cross compiling. It would be great to have a wiki page on how to set up a native FPC environment on ARM/Linux. e.g. an ARM-based development systems

Re: [Lazarus] Where is the unit path of the IDE configured?

2011-03-24 Thread Frank Church
On 23 March 2011 21:25, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 23 Mar 2011 21:11:43 + Frank Church vfcli...@gmail.com wrote: I am trying to install the Indy package, and I am getting the error that to copies of the same file exist in the IDE I have to versions

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Paul Ishenin
24.03.2011 16:17, patspiper wrote: Can you pls give details as I have no idea about manifests (aren't they Windows specific?) They are windows specific but this is not important because FPC includes all requested resources (no matter how windows specific they are) into the final executable.

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 11:39 AM, Paul Ishenin wrote: 24.03.2011 16:17, patspiper wrote: Can you pls give details as I have no idea about manifests (aren't they Windows specific?) They are windows specific but this is not important because FPC includes all requested resources (no matter how windows

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread zeljko
On Thursday 24 of March 2011 10:58:48 patspiper wrote: Furthermore, Lazarus is now able to load cursors. Are you sure that it was impossible before ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 12:00 PM, zeljko wrote: On Thursday 24 of March 2011 10:58:48 patspiper wrote: Furthermore, Lazarus is now able to load cursors. Are you sure that it was impossible before ? I used to get an exception due to the idtype being 32 instead of 1 or 2. No idea why. Stephano --

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Paul Ishenin
24.03.2011 17:00, zeljko wrote: On Thursday 24 of March 2011 10:58:48 patspiper wrote: Furthermore, Lazarus is now able to load cursors. Are you sure that it was impossible before ? We are talking about loading them from the FPC resources. From .lrs files they worked fine before. Later I

Re: [Lazarus] Where is the unit path of the IDE configured?

2011-03-24 Thread Mattias Gaertner
On Thu, 24 Mar 2011 09:37:59 + Frank Church vfcli...@gmail.com wrote: On 23 March 2011 21:25, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 23 Mar 2011 21:11:43 + Frank Church vfcli...@gmail.com wrote: I am trying to install the Indy package, and I am getting the

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 12:07 PM, Paul Ishenin wrote: 24.03.2011 17:00, zeljko wrote: On Thursday 24 of March 2011 10:58:48 patspiper wrote: Furthermore, Lazarus is now able to load cursors. Are you sure that it was impossible before ? We are talking about loading them from the FPC resources. From

[Lazarus] Can't find unit ComponentEditors used by

2011-03-24 Thread Zaher Dirkey
Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got this message ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by ntvRegCtrls What i can do to fix this propblem? Thanks in advance. -- Zaher Dirkey --

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Paul Ishenin
24.03.2011 17:16, patspiper wrote: Since you mentioned FPC resources, can palette components (IDE) have their resources as FPC resources instead of using .lrs ones? No at the moment. Although I don't think it will be too difficult to implement. Best regards, Paul Ishenin --

Re: [Lazarus] Can't find unit ComponentEditors used by

2011-03-24 Thread Mattias Gaertner
On Thu, 24 Mar 2011 12:16:23 +0200 Zaher Dirkey parm...@gmail.com wrote: Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got this message ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by

Re: [Lazarus] Can't find unit ComponentEditors used by

2011-03-24 Thread Zaher Dirkey
On Thu, Mar 24, 2011 at 12:16 PM, Zaher Dirkey parm...@gmail.com wrote: Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got this message ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by

Re: [Lazarus] Can't find unit ComponentEditors used by

2011-03-24 Thread Zaher Dirkey
On Thu, Mar 24, 2011 at 12:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 24 Mar 2011 12:16:23 +0200 Zaher Dirkey parm...@gmail.com wrote: Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 12:24 PM, Paul Ishenin wrote: 24.03.2011 17:16, patspiper wrote: Since you mentioned FPC resources, can palette components (IDE) have their resources as FPC resources instead of using .lrs ones? No at the moment. Although I don't think it will be too difficult to implement.

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Zaher Dirkey
On Thu, Mar 24, 2011 at 12:24 PM, Paul Ishenin i...@kmiac.ru wrote: 24.03.2011 17:16, patspiper wrote: Since you mentioned FPC resources, can palette components (IDE) have their resources as FPC resources instead of using .lrs ones? No at the moment. Although I don't think it will be too

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 12:49 PM, Zaher Dirkey wrote: On Thu, Mar 24, 2011 at 12:24 PM, Paul Ishenin i...@kmiac.ru mailto:i...@kmiac.ru wrote: 24.03.2011 17:16, patspiper wrote: Since you mentioned FPC resources, can palette components (IDE) have their resources as FPC

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Zaher Dirkey
2011/3/24 patspiper patspi...@gmail.com You can add the contents of a lrs file How without using a converter (image - lrs) I like to have this, in unit that register my controls {$r 'myimage.png'} Thanks -- Zaher Dirkey -- ___ Lazarus mailing list

Re: [Lazarus] Can't find unit ComponentEditors used by

2011-03-24 Thread Mattias Gaertner
On Thu, 24 Mar 2011 12:34:02 +0200 Zaher Dirkey parm...@gmail.com wrote: On Thu, Mar 24, 2011 at 12:16 PM, Zaher Dirkey parm...@gmail.com wrote: Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got this message

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread patspiper
On 03/24/2011 01:05 PM, Zaher Dirkey wrote: 2011/3/24 patspiper patspi...@gmail.com mailto:patspi...@gmail.com You can add the contents of a lrs file How without using a converter (image - lrs) I like to have this, in unit that register my controls {$r 'myimage.png'} $R needs res files

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Michael Schnell
On 03/24/2011 10:37 AM, Mark Morgan Lloyd wrote: e.g. an ARM-based development systems page referenced at http://wiki.lazarus.freepascal.org/Platform_list#Supported_targets_for_ARM leading to http://wiki.lazarus.freepascal.org/Linux_for_ARM which in fact leads to

Re: [Lazarus] Setting a cursor from resource

2011-03-24 Thread Zaher Dirkey
2011/3/24 patspiper patspi...@gmail.com On 03/24/2011 01:05 PM, Zaher Dirkey wrote: 2011/3/24 patspiper patspi...@gmail.com You can add the contents of a lrs file How without using a converter (image - lrs) I like to have this, in unit that register my controls {$r 'myimage.png'}

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Kjow
2011/3/24 Michael Schnell mschn...@lumino.de: http://wiki.lazarus.freepascal.org/Compile_and_Develop_on_Maemo_device which really shows how to get Lazarus working on an Arm-Linux device. I have no idea what is special about Maemo that might not apply to other Arm-Linux environments, so a

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Michael Schnell
So I think that the wiki could be used to installa fpc/lazarus on any arm-linux platform. :) Sounds great. So maybe Mark could do some testing and enhance the text to be more general. -Michael -- ___ Lazarus mailing list

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 03/24/2011 10:37 AM, Mark Morgan Lloyd wrote: e.g. an ARM-based development systems page referenced at http://wiki.lazarus.freepascal.org/Platform_list#Supported_targets_for_ARM leading to http://wiki.lazarus.freepascal.org/Linux_for_ARM which in fact leads to

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Mark Morgan Lloyd
Michael Schnell wrote: So I think that the wiki could be used to installa fpc/lazarus on any arm-linux platform. :) Sounds great. So maybe Mark could do some testing and enhance the text to be more general. I'll see what I can do, but it might be better if I started off by transcribing my

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Michael Schnell
On 03/24/2011 02:22 PM, Mark Morgan Lloyd wrote: I think that the one thing I'd caution is that NFS is poor at handling symlinks, and I'm not sure where it stands on locking. If you have a server setup that uses symlinks or a client app that requires locking then it might be safer to

[Lazarus] Animals game - exception: Failed to create win32 control, error: 1407 : Cannot find window class.

2011-03-24 Thread Peter Williams
Hi All, I have a Lazarus project which is a legacy game project from Delphi 7. It works fine in D7 and I used the tools menus to convert it to Lazarus. It compiles fine and when I run it it immediately gives this exception: Debugger Exception Notification Project ANIMALS.exe raised exception

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-24 Thread Den Jean
On Thursday 24 March 2011 12:58:40 Kjow wrote: Maemo/MeeGo are arm-linux distro, maemo is based on debian meego on fedora. So I think that the wiki could be used to installa fpc/lazarus on any arm-linux platform. :) This one also contains arm platform instructions