Re: [fpc-pascal] fpGUI Toolkit v0.7-rc1 for FPC 2.4

2010-03-16 Thread Graeme Geldenhuys
David Emerson het geskryf: > > Discussions took place in the fpgui.support group in 2008 (June and > December) and you can probably still access those messages from the > news server. Correct. Messages in the newsgroup never expire so everything is accessible. I am also working on a Forum gatew

Re: [fpc-pascal] fpGUI Toolkit v0.7-rc1 for FPC 2.4

2010-03-16 Thread Graeme Geldenhuys
Schindler Karl-Michael het geskryf: > > has there been already been work on a carbon backend of fpGUI? Felipe started a Carbon backend for the old v0.4 fpgGUI (years ago), but there was hardy any real code, just basic class declarations. Then Apple reported that Carbon will not be 64-bit. Carbon

Re: [fpc-pascal] Re: tstringlist.savetostream

2010-03-16 Thread Marco van de Voort
In our previous episode, Terry A. Haimann said: > Virtually the same logic in a fpc program doesn't work. The program > runs, but nothing is submitted to the "AT" facility. I am suspecting > something is requiring one of the libraries in Lazarus that I can't seem > to get to compile in fpc suc

Re: [fpc-pascal] fpGUI Toolkit v0.7-rc1 for FPC 2.4

2010-03-16 Thread David Emerson
On Tue 16 Mar 2010, Schindler Karl-Michael wrote: > Hi > > has there been already been work on a carbon backend of fpGUI? > > Michael The best place to ask about this is on the fpgui newsgroups, which are hosted by opensoft.homeip.net Discussions took place in the fpgui.support group in 2008 (

[fpc-pascal] Re: tstringlist.savetostream

2010-03-16 Thread Terry A. Haimann
Ok, I have a Lazarus test program that has the following code: procedure TMainForm.ExecButClick(Sender: TObject); Var StdStrLst, ErrorStrLst: TStringList; MyProcess: TProcess; begin StdStrLst := TStringlist.Create; ErrorStrLst := TStringlist.Create; MyProcess := TProcess.Cr

Re: [fpc-pascal] fpGUI Toolkit v0.7-rc1 for FPC 2.4

2010-03-16 Thread Schindler Karl-Michael
Hi has there been already been work on a carbon backend of fpGUI? Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] error on compilation

2010-03-16 Thread David Emerson
On Tue 16 Mar 2010, leledumbo wrote: > > How do you install fpc? Do you instal the rtl as well? Yes, you definitely need the rtl. Nowadays I install everything, as required by lazarus. In the past I used to install the barebones minimum, which if I recall correctly was the compiler and the rtl

Re: [fpc-pascal] tstringlist.savetostream

2010-03-16 Thread José Mejuto
Hello FPC-Pascal, Tuesday, March 16, 2010, 2:53:44 AM, you wrote: TAH> After running tstringlist.savetostream how can I make sure that the TAH> buffer has been flushed and data sent successfully? If the call returns everything has been saved, if not an exception should happend, but you can not k

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Paul Breneman
Adrian, Thank you *very* much for getting fpGUI working better on WinCE. A few months ago I spent quite a bit of time doing the initial work but as you've seen in the comments I only had a Motorola Symbol MC1000 barcode scanner to work with and that just has a 240x240 monochrome display. I

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Graeme Geldenhuys
On 16 March 2010 15:03, Adrian Veith wrote: >>> > Now my second solution works: Thank you very much. I'll take a look at the code and test on my Garmin in the next day or two. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI to

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Graeme Geldenhuys
On 16 March 2010 11:16, Adrian Veith wrote: > > Ok - I got another issue with reading and painting bitmaps. The original > code throws an error when reading a bitmap file in ReadImage_BMP for 32 > bit depths images. A known problem. I suspect a endian issue. I am currently working on changing th

Re: [fpc-pascal] error on compilation

2010-03-16 Thread leledumbo
How do you install fpc? Do you instal the rtl as well? -- View this message in context: http://old.nabble.com/error-on-compilation-tp27910026p27917745.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 16.03.2010 13:17, schrieb Adrian Veith: > Am 16.03.2010 11:22, schrieb Adrian Veith: > >> Am 16.03.2010 10:45, schrieb Matt Emson: >> >> >>> Adrian Veith wrote: >>> >>> ..the bitmaps look scrambled and have different colors. I haven't found the solution for this

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 16.03.2010 11:22, schrieb Adrian Veith: > Am 16.03.2010 10:45, schrieb Matt Emson: > >> Adrian Veith wrote: >> >>> ..the bitmaps look scrambled and have different colors. >>> I haven't found the solution for this yet. >>> >> Ignore that last message. It seems WinCE is only ever li

Re: [fpc-pascal] source code UTF8 with BOM problems ?

2010-03-16 Thread Jonas Maebe
On 16 Mar 2010, at 00:59, Luis Fernando Del Aguila Mejía wrote: The following source code uses UTF8 without BOM, http://www.conoce3000.com/Ejemplo01.pp the compiler compiles ok and the program displays the message in Unicode UTF8 ok The following source code uses UTF8 with BOM http://www.

Re: [fpc-pascal] fpGUI Toolkit v0.7-rc1 for FPC 2.4

2010-03-16 Thread Roland Schaefer
On 16.03.2010 00:31, Jorge Aldo G. de F. Junior wrote: > "I'm maintaining FPC-bindings for DFB. Right now, they work with the 1.4 > line of DFB binaries only. If anyone has a need for 1.2 bindings (which > is the version that ships with most GNU/Linux distributions these days), > I'd actually provi

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 16.03.2010 10:45, schrieb Matt Emson: > Adrian Veith wrote: >> ..the bitmaps look scrambled and have different colors. >> I haven't found the solution for this yet. > Ignore that last message. It seems WinCE is only ever little endian. > So it is probably more to do with DIB vs general device de

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Matt Emson
Adrian Veith wrote: ..the bitmaps look scrambled and have different colors. I haven't found the solution for this yet. Ignore that last message. It seems WinCE is only ever little endian. So it is probably more to do with DIB vs general device dependent Bitmaps. Have you tried converting the bi

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Matt Emson
Adrian Veith wrote: //pcol^ := Plongword(p)^; -- changed pcol^ := (LongWord(p[3]) shl 24) + (LongWord(p[2]) shl 16) + (LongWord(p[1]) shl 8) + LongWord(p[0]); This looks like an endian issue. Aren't Bitmaps in Little Endian format (as per the usual endianess of the Intel x86 processo

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Adrian Veith
Am 15.03.2010 16:20, schrieb Graeme Geldenhuys: > > WinCE is experimental, so expect some issue. But that is no excuse. ;-) I > can duplicate the slow down on my Garmin iQue M5, so will try and resolve > the issue before the final v0.7 release. Thanks for bringing this to my > attention. > Ok

Re: [fpc-pascal] tstringlist.savetostream

2010-03-16 Thread Michael Van Canneyt
On Mon, 15 Mar 2010, Terry A. Haimann wrote: After running tstringlist.savetostream how can I make sure that the buffer has been flushed and data sent successfully? It depends on the kind of stream you pass it, but for most streams: if the call returns, all data has been written by the appli

Re: [fpc-pascal] fpGUI Toolkit v0.7-rc1 for FPC 2.4

2010-03-16 Thread Graeme Geldenhuys
Jorge Aldo G. de F. Junior het geskryf: > > And Graeme, where should i look for (Units/Classes) to port fpGUI to directfb > ? It's relatively simple. * You'll create a new folder for the new backend code. eg: src/corelib/directfb/ * You'll create a new fpg_interface.pas unit. See gdi or x11