Re: [lazarus] Converting Delphi 5 source to Lazarus source

2008-02-11 Thread Mattias Gaertner
On Mon, 11 Feb 2008 18:47:52 +1100 Peter Williams [EMAIL PROTECTED] wrote: Hi All, I have a number of Delphi 5 projects which I want to port to Lazarus projects. I there a simple way for me to convert the projects and forms .pas file within them to Lazarus code? I was thinking that maybe

Re: [lazarus] win32extra merged into FPC

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 9:36 AM, Vincent Snijders [EMAIL PROTECTED] wrote: I think we should add IFDEF's for fpc 2.2.0 to keep the current code. That's even better =) -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
you can also check the example at your local lazarus dir. I think it's something like lazarus/examples/trayicon -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: [lazarus] ColorToRGB in console app

2008-02-11 Thread Giuliano Colla
Felipe Monteiro de Carvalho ha scritto: On Feb 11, 2008 8:21 AM, Vincent Snijders [EMAIL PROTECTED] wrote: You do not get true console applications under Windows, because all windows installations have a GUI installed. All Mac OS X installations too. :-) Actually Macs have a server edition

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
FWIW, I use XN Resource Editor to create my main form icon to show in windows and that seems to work fine (as does windres for creating the resource) so I wonder if its anything to to do with using windres or not ?? Ok, the last difference that I see from here between your project and the

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 3:56 PM, Lee Jenkins [EMAIL PROTECTED] wrote: M:\lazarus\projects\maestrom:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M :\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res gcc: installation problem, cannot exec

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 3:56 PM, Lee Jenkins [EMAIL PROTECTED] wrote: M:\lazarus\projects\maestrom:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M :\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res gcc: installation problem, cannot exec `cpp': No such file or directory

Re: [lazarus] Converting Delphi 5 source to Lazarus source

2008-02-11 Thread Wanderlan Santos dos Anjos
see also: http://wiki.lazarus.freepascal.org/XDev_Toolkit Wanderlan

RE: [lazarus] ColorToRGB in console app

2008-02-11 Thread Hess, Philip J
Hi Graeme, Thanks for the tips. Console apps with the Laz GUI linked in (i.e., linked against a widgetset via inclusion of interfaces unit) work fine on Windows and Carbon and even with GTK on OS X if run in an X termimal. However, I would like to be able to have a truer console app (and a much

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: TIcon isn't fully implemented on Windows so it doesn't give a HICON handle that TTrayIcon needs. See bug report: http://bugs.freepascal.org/view.php?id=10305 The wiki page explains how to make TTrayIcon work everywhere:

Re: [lazarus] ColorToRGB in console app

2008-02-11 Thread John
Graeme Geldenhuys wrote: On 11/02/2008, Giuliano Colla [EMAIL PROTECTED] wrote: Our Linux based company servers have KDE running 24/7, so that unskilled people can check daily backups, and do other minor things, clicking on a few dedicated icons on the desktop. No problem whatsoever. Uptime

Re: [lazarus] ColorToRGB in console app

2008-02-11 Thread Graeme Geldenhuys
On 11/02/2008, Giuliano Colla [EMAIL PROTECTED] wrote: Our Linux based company servers have KDE running 24/7, so that unskilled people can check daily backups, and do other minor things, clicking on a few dedicated icons on the desktop. No problem whatsoever. Uptime depends only on kernel

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 2:43 PM, Lee Jenkins [EMAIL PROTECTED] wrote: I simply added another icon to the resource and called it 101, but obviously that is not the way to go. Must the icon be in its own resource file or can it be placed in the existing resource file I

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 2:43 PM, Lee Jenkins [EMAIL PROTECTED] wrote: I simply added another icon to the resource and called it 101, but obviously that is not the way to go. Must the icon be in its own resource file or can it be placed in the existing resource file I already have? I think that

Re: [lazarus] ColorToRGB in console app

2008-02-11 Thread mramirez
Quoting Giuliano Colla [EMAIL PROTECTED]: Knowing a bit Redmond people, I'm afraid it's MSDos based! ;-) All things old become new again ;-) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: [lazarus] win32extra merged into FPC

2008-02-11 Thread Marco van de Voort
On Mon, Feb 11, 2008 at 09:50:40AM +0100, Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 9:36 AM, Vincent Snijders [EMAIL PROTECTED] wrote: I think we should add IFDEF's for fpc 2.2.0 to keep the current code. That's even better =) Moreover it only affects win32/64 in the first place.

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
TIcon isn't fully implemented on Windows so it doesn't give a HICON handle that TTrayIcon needs. See bug report: http://bugs.freepascal.org/view.php?id=10305 The wiki page explains how to make TTrayIcon work everywhere: http://wiki.lazarus.freepascal.org/TrayIcon#Demonstration_program_1 thanks,

Re: [lazarus] cross-platform balloon tip/help window

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 8:51 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: 1) Do you handle the positioning of the window correctly, even for multi-display setups? Desktop position vs Screen position? I don't know, I don't have multi-display setups to test. 2) Does the position get adjusted if the

Re: [lazarus] win32extra merged into FPC

2008-02-11 Thread Marco van de Voort
On Mon, Feb 11, 2008 at 09:16:16AM +0700, Paul Ishenin wrote: since 2.2.0. (the shell* units are mostly post 2.2.0 though). Most no There are some issues that must be still resolved: - TNMLVCustomDraw win32extra definition doesn't match commctrl one. I will fix this in lazarus. If we look at

[lazarus] Language translation...

2008-02-11 Thread Hakan K
Hi, i plan translate lcl/languages/lclstrconsts.po file to Turkish Language... What about this and where i can post translated file? Thanks... Hakan (Turkey) _ Windows Live Messenger'ın için Ücretsiz 30 İfadeyi yükle

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: TIcon isn't fully implemented on Windows so it doesn't give a HICON handle that TTrayIcon needs. See bug report: http://bugs.freepascal.org/view.php?id=10305 The wiki page explains how to make TTrayIcon work everywhere:

Re: [lazarus] win32extra merged into FPC

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 8:58 AM, Marco van de Voort [EMAIL PROTECTED] wrote: They were merged to 2.2.1 yesterdayevening, and since your comments don't need more changes FPC side, I guess Lazarus can start changing when they want. Althougth we already require 2.2.1 for wince I'd rather not also require

Re: [lazarus] ColorToRGB in console app

2008-02-11 Thread Graeme Geldenhuys
On 11/02/2008, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: All Mac OS X installations too. :-) Actually Macs have a server edition and althougth I never saw that I think it doesn't have a gui: http://en.wikipedia.org/wiki/Xserve I thought there had to be something like that...

Re: [lazarus] win32extra merged into FPC

2008-02-11 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: On Feb 11, 2008 8:58 AM, Marco van de Voort [EMAIL PROTECTED] wrote: They were merged to 2.2.1 yesterdayevening, and since your comments don't need more changes FPC side, I guess Lazarus can start changing when they want. Althougth we already require 2.2.1

Re: [lazarus] GamePack 1.0 Released

2008-02-11 Thread A.J. Venter
I did so, but still the same behavior. Just to note, I commented out the lines and then rebuilt the IDE a couple of times to be sure. Thanks Lee, At least it rules out the obvious. I will be home this weekend where I have a windows machine, I'll give it a shot when I'm there and see if I can

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 3:56 PM, Lee Jenkins [EMAIL PROTECTED] wrote: M:\lazarus\projects\maestrom:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M :\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res gcc: installation problem, cannot exec