Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-20 Thread Mattias Gaertner
On Wed, 20 Aug 2008 19:42:10 +0100 Dominique Louis <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > Do you mean > > cd lazarus/lcl > > make LCL_PLATFORM=carbon CPU_TARGET=powerpc PP=fpc > > ? > > Was there any error? > > Ok I added LCL_PLATFORM etc to the make bigide command thinking tha

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-20 Thread Vincent Snijders
Tom Verhoeff schreef: > On Wed, Aug 20, 2008 at 12:43:31PM +0200, Graeme Geldenhuys wrote: >> On 8/19/08, Tom Verhoeff <[EMAIL PROTECTED]> wrote: >>> 1. What is the default location for the project templates? >> Under my system (Linux) in was $HOME/.lazarus/templates/ > > Under Windows (which I

Re: [Lazarus] Debugging tips, please?

2008-08-20 Thread Jon Foster
I meant the other way around. When at a break point within a procedure that is the child of another I can't read the parent's variables. Some how when I posted this I posted with the wrong subject line. Its should have really been what it is now and not "TDBF Indexes". THX - Jon Marco van de

Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-20 Thread Dominique Louis
Mattias Gaertner wrote: > Do you mean > cd lazarus/lcl > make LCL_PLATFORM=carbon CPU_TARGET=powerpc PP=fpc > ? > Was there any error? Ok I added LCL_PLATFORM etc to the make bigide command thinking that it would build the LCL as well if I specified CPU_TARGET=powerpc. This also does not explai

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-20 Thread Tom Verhoeff
On Wed, Aug 20, 2008 at 12:43:31PM +0200, Graeme Geldenhuys wrote: > On 8/19/08, Tom Verhoeff <[EMAIL PROTECTED]> wrote: > > > > 1. What is the default location for the project templates? > > Under my system (Linux) in was $HOME/.lazarus/templates/ Under Windows (which I use rarely, but our stu

Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-20 Thread Mattias Gaertner
On Wed, 20 Aug 2008 17:50:40 +0100 Dominique Louis <[EMAIL PROTECTED]> wrote: > Mattias Gärtner wrote: > > Have you compiled the LCL for target powerpc? > > I thought that putting LCL_PLATFORM=carbon with CPU_TARGET=powerpc > was enough to do that? That does not seem to work. Am I missing > somet

Re: [Lazarus] Delphi Modbus Library

2008-08-20 Thread Mark Morgan Lloyd
Marc Santhoff wrote: > Hi, > > has anyone tried translating and using this one with fpc/lazarus?: > > http://sourceforge.net/projects/delphimodbus > > Regards, > Marc I've considered it but we don't talk directly to any Modbus equipment so at present it would only be of academic interest. --

Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-20 Thread Dominique Louis
Mattias Gärtner wrote: > Have you compiled the LCL for target powerpc? I thought that putting LCL_PLATFORM=carbon with CPU_TARGET=powerpc was enough to do that? That does not seem to work. Am I missing something else? Dominique. ___ Lazarus mailing li

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-20 Thread Graeme Geldenhuys
On 8/20/08, Mattias Gärtner <[EMAIL PROTECTED]> wrote: > > Note: > The program name and the program filename can differ. > And unit names and filenames can differ with -Un switch. Never knew that Though in my defence, I have never seen anybody use it like that. ;-) Regards, - Graeme -

Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-20 Thread Mattias Gärtner
Zitat von Dominique Louis <[EMAIL PROTECTED]>: > Vincent Snijders wrote: > > Turn off rangechecking. > > I wasn't sure if that would be a good idea, but it certainly allows it > to compile. So thanks for that. > > Now when compiling my app, targetting PowerPC, I get a Fatal error in > PrintersDlgs

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-20 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: >[...] > I know in Pascal you can't rename the unit or program name inside the > file and yet the file itself still has the old name. I always thought > this strange of Pascal, but that's the rules of Pascal! Physical > filename and 'program' or 'u

Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-20 Thread Dominique Louis
Vincent Snijders wrote: > Turn off rangechecking. I wasn't sure if that would be a good idea, but it certainly allows it to compile. So thanks for that. Now when compiling my app, targetting PowerPC, I get a Fatal error in PrintersDlgs.pp saying "Can't find unit LResources used in PrintersDlgs"

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-20 Thread Graeme Geldenhuys
On 8/19/08, Tom Verhoeff <[EMAIL PROTECTED]> wrote: > > 1. What is the default location for the project templates? Under my system (Linux) in was $HOME/.lazarus/templates/ >From this I gather it defaults to wherever the Lazarus settings folder is plus the templates directory. Obviously this lo

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-20 Thread Marco van de Voort
On Tue, Aug 19, 2008 at 04:47:51PM +0200, Bogus??aw Brandys wrote: > > > > Eduardo. > > > c) write padding function strutils? ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Using 64 bit ActiveX (Volume Shadow Service)

2008-08-20 Thread Luk Vandelaer
On Tuesday 19 August 2008 23:30, Tobias Giesen wrote: > Hello, > > I am trying to use the VSS API in a 64-bit application. I am attaching > the files translated from the Microsoft headers with which I am trying > to access the API. This works fine in 32-bit Delphi but it crashes in > 64-bit Lazarus