Re: [Lazarus] Getting started with WinCE/Windows Mobile

2008-11-02 Thread Andy Lawrie
I haven't even tried to get remote debugging working on the emulator or the device yet. As an elderly embedded systems programmer I tend to rely more on debug output and observation of symptoms. Debuggers don't work so well on the sort of problems you tend to get on real time systems. But even

[Lazarus] setting defines in makefile

2008-11-02 Thread Sebastian Kraft
Hello, just trying to create a makefile for a project... How can I pass a define to compiler only for a special target? for example a makefile.fpc snippet [rules] debpackage: all set define DEBPACKAGE # passes -dDEBPACKAGE option to compiler zippackage: all set define

Re: [Lazarus] [OT] New free IDE from Trolltech

2008-11-02 Thread Felipe Monteiro de Carvalho
On Sun, Nov 2, 2008 at 12:15 AM, Kostas Michalopoulos [EMAIL PROTECTED] wrote: I think Qt's dual license says that you have to give copyrights to Trolltech if you want your modifications to be merged back to the Qt codebase. So basically anyone who worked on Qt to improve KDE or his own

Re: [Lazarus] Cannot install Lazarus-0.9.26/fpc-2.2.2 on Suse 10.0, help needed

2008-11-02 Thread Bart
On 10/30/08, Lord Satan [EMAIL PROTECTED] wrote: fpc-2.2.2.i386-linux.tar (30 MB) contains a standard tar archive, with an install script After untarring the archive into a temporary location, you can run the install script by issuing the command sh install.sh. Thanks!! I downloaded that

Re: [Lazarus] Default caption in MessageDlg()

2008-11-02 Thread Henrique Faria
I cannot find the exact reason for the change. I have no objection to revert it. Vincent Since I had nothing better to do I submitted a patch in the bugtracker. Bart The possibility to edit the caption in a messagedlg can help on internationalization matter. Is there a better

Re: [Lazarus] setting defines in makefile

2008-11-02 Thread Graeme Geldenhuys
On Sun, Nov 2, 2008 at 10:43 AM, Sebastian Kraft [EMAIL PROTECTED] wrote: Hello, just trying to create a makefile for a project... How can I pass a define to compiler only for a special target? I don't know, but why don't you rather try the new 'fpmake' build system. From what I have seen,

Re: [Lazarus] Default caption in MessageDlg()

2008-11-02 Thread Vincent Snijders
Henrique Faria schreef: I cannot find the exact reason for the change. I have no objection to revert it. Vincent Since I had nothing better to do I submitted a patch in the bugtracker. Bart The possibility to edit the caption in a messagedlg can help on

Re: [Lazarus] setting defines in makefile

2008-11-02 Thread Sebastian Kraft
On Sunday 02 November 2008 10:57:09 Graeme Geldenhuys wrote: On Sun, Nov 2, 2008 at 10:43 AM, Sebastian Kraft [EMAIL PROTECTED] wrote: Hello, just trying to create a makefile for a project... How can I pass a define to compiler only for a special target? I don't know, but why don't you

Re: [Lazarus] Cannot install Lazarus-0.9.26/fpc-2.2.2 on Suse 10.0, help needed

2008-11-02 Thread Bart
On 11/2/08, Bart [EMAIL PROTECTED] wrote: On 10/30/08, Lord Satan [EMAIL PROTECTED] wrote: fpc-2.2.2.i386-linux.tar (30 MB) contains a standard tar archive, with an install script After untarring the archive into a temporary location, you can run the install script by issuing the

Re: [Lazarus] Getting started with WinCE/Windows Mobile

2008-11-02 Thread Andy Lawrie
Still mostly looking very good,the more I'm using it the more I like it. I've come up with a range of issues, from important to would be nice to just a discussion point, e.g. Static text AV's on form load if caption is 0 chars long. Static text doesn't show border. Copy doesn't work in property

Re: [Lazarus] setting defines in makefile

2008-11-02 Thread Graeme Geldenhuys
On Sun, Nov 2, 2008 at 12:50 PM, Sebastian Kraft [EMAIL PROTECTED] wrote: Did not know this exists. Looks interesting... But as far as I can see only predefined targets are usable(clean, build, ..) and there is no possibility to create a own .deb package target/command. Or did I miss

[Lazarus] GTK2 and Mandriva 2009

2008-11-02 Thread Luis R. Hilario B.
Hello all, I updated to Mandriva 2009, also FPC and Lazarus. Compiled again my program with GTK 2 (using LCL_PLATFORM=gtk2), and I have the following error: Linking ../lazarus /usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':

Re: [Lazarus] setting defines in makefile

2008-11-02 Thread Sebastian Kraft
I found the following in a makefile.fpc in the internet. debpackage: all override COMPILER+=-dNODEBUG # passes -dNODEBUg to compiler options Works for me... But can someone explain me in short what this command does and why? For me looks like it adds -dNODEBUG to compiler commandline

[Lazarus] questions regarding bi-directional ui design

2008-11-02 Thread ik
Hello, I'm working on the BiDi implementation of Lazarus, and there are few things that require a lot of thinking regarding what we want to achieve with Lazarus behavior. For example, if TApplication.BidiMode (I have added support for it with the help of Paul) is set to bdRightToLeft, should

Re: [Lazarus] GTK2 and Mandriva 2009

2008-11-02 Thread Paul Ishenin
Luis R. Hilario B. wrote: Hello all, ... Linking ./helloworld /usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': gtk2.pas:(.text+0xb7b1): undefined reference

Re: [Lazarus] [OT] New free IDE from Trolltech

2008-11-02 Thread Mac Programmer
Probably what you're seeing here in the RemObjects/Codegear deal is evidence of larger trends taking place in the software industry: (1) Continued consolidation, like in most industries. Codegear and RemObjects both probably concluded that their .NET products were going nowhere fast in a

Re: [Lazarus] [OT] New free IDE from Trolltech

2008-11-02 Thread Graeme Geldenhuys
2008/11/2 Mac Programmer [EMAIL PROTECTED]: Linux, hence the need for Lazarus. What it tells me is that Lazarus and Free Pascal are still seen as useful, but primarily for use with legacy Delphi projects, not necessarily with new projects. This is definitely not the case with our company. We

[Lazarus] IDE idea

2008-11-02 Thread Mac Programmer
I've been working recently with QGIS (www.qgis.org), a slick, cross- platform, Qt-based GIS. QGIS has a feature that is so cool, you almost have to see it to appreciate it. But here's a brief description anyway: QGIS supports plugins written in Python. If you've developed a nifty plugin,

Re: [Lazarus] [OT] New free IDE from Trolltech

2008-11-02 Thread Florian Klaempfl
Mac Programmer schrieb: (2) Continued standardizing on the dominant IDE's for most large organizations, that is on Visual Studio, Eclipse or maybe XCode if you're doing serious Mac work. This also frees up the compiler and tool developers from having to do an IDE for their products.

Re: [Lazarus] [OT] New free IDE from Trolltech

2008-11-02 Thread Mac Programmer
- A version of SWIG that supports Object Pascal syntax, so we could create Python (and possibly other) interfaces to our classes, This is as useless as a a .Net backend. Such a beast might have OP syntax but everything must be recoded anyways due to different libraries etc. Afraid I'm not

[Lazarus] Compiling Python modules with Lazarus

2008-11-02 Thread Mac Programmer
I've posted source for a simple library that can be compiled with Lazarus into a Python module: http://web.fastermac.net/~MacPgmr/Lazarus/PyGuiMod_20081102.zip This library also includes a form that can be displayed by calling a library function from Python. Typically you would be using

Re: [Lazarus] TSQLQuery ApplyUpdates

2008-11-02 Thread Terry A. Haimann
I have gotten the Update and Insert to work, but not the delete. It appears that to execute the delete, a AfterDelete procedure needs added and the applyupdates in the AfterUpdate does nothing is a delete case. I have tried using both delete from mytable where myidx = :myidx and