Re: [Lazarus] using two versions of RTL from lazarus

2008-11-09 Thread Marc Santhoff
Am Sonntag, den 09.11.2008, 23:50 + schrieb Henry Vermaak: > 2008/11/9 Marc Santhoff <[EMAIL PROTECTED]>: > > Hi, > > > > I'd like to use two version of the fpc libraries from inside lazarus, > > one RTL for release/normal usage and another one compiled with debugging > > symbols included. > >

Re: [Lazarus] using two versions of RTL from lazarus

2008-11-09 Thread Henry Vermaak
2008/11/9 Marc Santhoff <[EMAIL PROTECTED]>: > Hi, > > I'd like to use two version of the fpc libraries from inside lazarus, > one RTL for release/normal usage and another one compiled with debugging > symbols included. > > How can I use lazarus to switch between those two? easiest is probably to

[Lazarus] using two versions of RTL from lazarus

2008-11-09 Thread Marc Santhoff
Hi, I'd like to use two version of the fpc libraries from inside lazarus, one RTL for release/normal usage and another one compiled with debugging symbols included. How can I use lazarus to switch between those two? TIA, Marc ___ Lazarus mailing list

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Luiz Americo Pereira Camara
Thierry Coq escreveu: > Link should be fixed now. It's working now. Thanks Luiz ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Henrique Faria
Héctor. Actually, i just tested the test bin and it opened excel, so i realized it's good. It was a quick look. I think you should ask Thierry for details. Henrique. From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: New Excel Interface ComponentDate: Sun, 9 Nov 2008 11:21:55 -0500 Dear Fari

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Thierry Coq
Link should be fixed now. Luiz Americo Pereira Camara wrote: > Thierry Coq escreveu: > >> Yes, definitively, >> >> I've checked, this code seems to be currently geared to use DISPID >> interfaces. This works in Delphi, but not in FPC for the time being. >> >> For example, the following code: >

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Alex du Plessis
Thierry Coq wrote: > using the DISPID features of FPC and the Lazarus environment, I have > started to write an Excel Interface component. > > Excel workbooks and sheets can be created, opened and saved. Cell values > can be read and updated. Cell color can be modified. > For performance DISPID i

Re: [Lazarus] malformed ifdef in gtkdefines.inc

2008-11-09 Thread Marc Weustink
Mattias Gaertner wrote: > On Sat, 8 Nov 2008 19:53:16 -0200 > "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote: > >> On Sat, Nov 8, 2008 at 5:05 PM, ik <[EMAIL PROTECTED]> wrote: >>> You are missing the point (And 2.6 is very old version of GTK. GTK >>> 2.14 is the latest). >> So you want t

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Luiz Americo Pereira Camara
Thierry Coq escreveu: > Yes, definitively, > > I've checked, this code seems to be currently geared to use DISPID > interfaces. This works in Delphi, but not in FPC for the time being. > > For example, the following code: >fDocument := fDesktop.loadComponentFromURL('file:///'+ > StringReplace

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Thierry Coq
Yes, definitively, I've checked, this code seems to be currently geared to use DISPID interfaces. This works in Delphi, but not in FPC for the time being. For example, the following code: fDocument := fDesktop.loadComponentFromURL('file:///'+ StringReplace(FileName, '\', '/', [rfIgnoreCase,

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Thierry Coq
It may be the same problem I encountered on the Excel translation: Delphi understands DISPID interfaces, while FPC doesn't entirely, for the moment. Using the manner in which ExcelInterface manages DISPID could be a good way to do the same thing for OOO. I'll give it a thought. Thierry Coq Lu

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Paul Ishenin
Henrique Faria wrote: > Very good. What about something to OpenOffice? I know only about something for delphi (from russian sql.ru forum). Maybe it can work with fpc too: http://yuri.elmeh.ru/openoffice/OpenOffice2008.10.25.zip Best regards, Paul Ishenin. _

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Henrique Faria
Very good. What about something to OpenOffice? Henrique.> Date: Sat, 8 Nov 2008 15:53:17 +0100> From: [EMAIL PROTECTED]> To: lazarus@lazarus.freepascal.org> Subject: [Lazarus] New Excel Interface Component> > using the DISPID features of FPC and the Lazarus environment, I have > started to wr

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-09 Thread Mark Morgan Lloyd
Lord Satan wrote: > If I understand you correctly you need a high resolution timer? > I recommend EpikTimer: http://wiki.lazarus.freepascal.org/EpikTimer Thanks, very useful. Basic operation OK on ARM and SPARC as well as x86, Debian in all cases. -- Mark Morgan Lloyd markMLl .AT. telemetry.co

Re: [Lazarus] malformed ifdef in gtkdefines.inc

2008-11-09 Thread Aleš Katona
Please everyone, don't duplicate effort. I've started a "gtkext" unit in packages/gtk2/src/gtkext which adds [all] 2.8+ stuff in a way which can be checked. It works like this: Say you got a new calls for componentX in 2.8 and also some other new calls in 2.10. You add these calls as dynamic lo