Re: [lazarus] FastZLib: Illegal COFF Magic

2008-01-04 Thread Michael Van Canneyt
On Fri, 4 Jan 2008, Lukas Gradl wrote: Anyone got FastZLib to compile with FPC? (http://www.dellapasqua.com/delphizlib/) When it links the .OBJ-Files there occurs an Illegal COFF Magic while reading and the name of the OBJ-File. Could'nt find an information in that - seems that

Re: [lazarus] TReader / TWriter compatibility to Delphi?

2008-01-04 Thread Michael Van Canneyt
On Thu, 3 Jan 2008, Lukas Gradl wrote: Just discovered that TWriter / TReader Objects in FPC are missing some Methods compared to Delphi. At the moment I'm missing TReader.SkipValue - am I to stupid again or do I have to write a fix for that? Skipvalue is not implemented; Probably it

Re: [lazarus] Ahh - next one: TFieldList in FPC?

2008-01-04 Thread Michael Van Canneyt
On Thu, 3 Jan 2008, Lukas Gradl wrote: Porting DB-related components from Delphi to FPC is not an easy task. I'm missing TFieldList - anyone implementing that? Not currently. Michael. _ To unsubscribe: mail [EMAIL

Re: [lazarus] Hi, i have problems with TDBMemo and TToolbar

2008-01-04 Thread Michael Van Canneyt
On Thu, 3 Jan 2008, Osvaldo TC Filho wrote: Hi all. Environment: ubuntu gutsy, Lazarus svn Rev. 13608 GTK2 My TDBMemo is read only, with others db components no problem. (please don't answaer with: ... and the properties 'Read Only' ... it's false. My Toolbar is transparent,

[lazarus] Out of bounds and GDB

2008-01-04 Thread Damien Gerard
Hi, In a program compiled for Win32, I have got at runtime an exception List index (1) out of bounds, which does not really surprise me. However, even with options enabled, GDB is not aware of this exception and the program can continue as if nothing happened. Very usefull for a user but

Re: [lazarus] Out of bounds and GDB

2008-01-04 Thread Vincent Snijders
Damien Gerard schreef: Hi, In a program compiled for Win32, I have got at runtime an exception List index (1) out of bounds, which does not really surprise me. However, even with options enabled, GDB is not aware of this exception and the program can continue as if nothing happened. Very

Re: [lazarus] [MS Windows] Standalone app with GTK widgetset

2008-01-04 Thread Felipe Monteiro de Carvalho
On Jan 2, 2008 4:42 PM, Damien Gerard [EMAIL PROTECTED] wrote: Would it be interressting to make this article ? It's interresting. If you mean wiki article, I would suggest adding to the already existing gtk2 interface article instead of writing a new one.

Re: [lazarus] [MS Windows] Standalone app with GTK widgetset

2008-01-04 Thread Damien Gerard
On Jan 4, 2008, at 11:16 AM, Felipe Monteiro de Carvalho wrote: On Jan 2, 2008 4:42 PM, Damien Gerard [EMAIL PROTECTED] wrote: Would it be interressting to make this article ? It's interresting. If you mean wiki article, I would suggest adding to the already existing gtk2 interface article

Re: [lazarus] MouseMove problem in WinCE

2008-01-04 Thread Felipe Monteiro de Carvalho
Please try to isolate which revision broke this. The process of doing it is simple, althougth time consuming: http://wiki.lazarus.freepascal.org/How_To_Help_Developing_Lazarus#Dealing_with_regressions I didn't check the bugtracker (first internet access after a good vacation), but if you didn't

Re: [lazarus] MouseMove problem in WinCE

2008-01-04 Thread Felipe Monteiro de Carvalho
On Jan 4, 2008 12:24 PM, Paul Michell [EMAIL PROTECTED] wrote: I have inserted a Try-Except block around the offending lines and the problem seems to be a misaligned data access. I have read the Wiki note about this but I am still none the wiser. Ok, now that's interresting. Maybe this is what

Re: [lazarus] TReader / TWriter compatibility to Delphi?

2008-01-04 Thread Lukas Gradl
Michael Van Canneyt schrieb: On Thu, 3 Jan 2008, Lukas Gradl wrote: Just discovered that TWriter / TReader Objects in FPC are missing some Methods compared to Delphi. At the moment I'm missing TReader.SkipValue - am I to stupid again or do I have to write a fix for that? Skipvalue is not

Re: [lazarus] Out of bounds and GDB

2008-01-04 Thread Damien Gerard
On Jan 4, 2008, at 10:52 AM, Vincent Snijders wrote: FPC_RAISEEXCEPTION Oh yes it obvious... A godd idea :) Thanks ! -- Damien Gerard [EMAIL PROTECTED] People who used magic without knowing what they were doing usually came to a sticky end. All over the entire room, sometimes. --

Re: [lazarus] FastZLib: Illegal COFF Magic

2008-01-04 Thread Lukas Gradl
Michael Van Canneyt schrieb: On Fri, 4 Jan 2008, Lukas Gradl wrote: Anyone got FastZLib to compile with FPC? (http://www.dellapasqua.com/delphizlib/) When it links the .OBJ-Files there occurs an Illegal COFF Magic while reading and the name of the OBJ-File. Could'nt find an information

Re: [lazarus] FastZLib: Illegal COFF Magic

2008-01-04 Thread Michael Van Canneyt
On Fri, 4 Jan 2008, Lukas Gradl wrote: Michael Van Canneyt schrieb: On Fri, 4 Jan 2008, Lukas Gradl wrote: Anyone got FastZLib to compile with FPC? (http://www.dellapasqua.com/delphizlib/) When it links the .OBJ-Files there occurs an Illegal COFF Magic while

[lazarus] Unable to build lazarus

2008-01-04 Thread Roland Turcan
Hello All! I've just installed latest snapshot of Lazarus from 20071229, but I installed it into clean directory to avoid all conflicts. I can compile *.lpk without problem, but after Install all get all the time this: Unable to find file componenttreeview.pas. Check search path in

Re: [lazarus] Making GTK Thread Safe

2008-01-04 Thread Al Boldi
Giuliano Colla wrote: Al Boldi ha scritto: I played with this some more, and it turns out that not only is FreeOnTerminate completely broken but Free only frees the OS-thread memory if the thread is still running or is preceded by a WaitFor. This is on fpc2.0.2/linux. Maybe this has

Re: [lazarus] MouseMove problem in WinCE

2008-01-04 Thread Paul Michell
Felipe I will try and isolate the revision (I am still an SVN novice so it might take a while). I have been trying to isolate the problem and I am now sure it is a Canvas based issue and nothing to do with the mouse events (which do work perfectly if I replace the Canvas code with direct GDI

Re: [lazarus] MouseMove problem in WinCE

2008-01-04 Thread Paul Michell
But i may be a sequence of problems, like here: http://bugs.freepascal.org/view.php?id=10419 This sounds most likely: The problem with seems to related somewhere around Pavl's patches: 2007-12-12 05:58 paul r13290 font handle/reference rework 2007-12-12 04:51 paul r13289 brush

Re: [lazarus] [MS Windows] Standalone app with GTK widgetset

2008-01-04 Thread Damien Gerard
On Jan 4, 2008, at 11:50 AM, Damien Gerard wrote: On Jan 4, 2008, at 11:16 AM, Felipe Monteiro de Carvalho wrote: On Jan 2, 2008 4:42 PM, Damien Gerard [EMAIL PROTECTED] wrote: Would it be interressting to make this article ? It's interresting. If you mean wiki article, I would suggest

[lazarus] Weird context-menu popup in WinCE

2008-01-04 Thread John vd Waeter
Hi, I had 4 menu-items on a wince-application under the RIGHT-side menu-button. After I inserted a 5th one between number 3 and 4, the now 5th menu-item didn't work anymore. Its onclickcode didn't no longer get fired. Instead, a wince context-menu (a sort of New... submenu) with items like

Re: [lazarus] How to set LCL_PLATFORM

2008-01-04 Thread Dave Parsons
On Fri, 4 Jan 2008 09:01:24 +0200, Graeme Geldenhuys wrote: On 03/01/2008, Dave Parsons [EMAIL PROTECTED] wrote: There is already a Gtk1 port for OS/2 which works with various X interfaces such as HOBX11, everblue or XFreeOS/2, but I want a native OS/2 PM version. Ever considered

Re: [lazarus] FastZLib: Illegal COFF Magic

2008-01-04 Thread Michael Van Canneyt
On Fri, 4 Jan 2008, Lukas Gradl wrote: Sorry to bother you again - but I'm just too stupid to get it to work. Using cygwin I did a gcc -c adler32.c then I renamed the created adler32.o to adler32.obj. But when trying to link I get a Undefined symbol: ZLIBEX... I never used gcc on

Re: [lazarus] FastZLib: Illegal COFF Magic

2008-01-04 Thread Lukas Gradl
Sorry to bother you again - but I'm just too stupid to get it to work. Using cygwin I did a gcc -c adler32.c then I renamed the created adler32.o to adler32.obj. But when trying to link I get a Undefined symbol: ZLIBEX... I never used gcc on Windows and I'm quite stuck with this OBJ-Files.

Re: [lazarus] FastZLib: Illegal COFF Magic

2008-01-04 Thread Lukas Gradl
Michael Van Canneyt schrieb: On Fri, 4 Jan 2008, Lukas Gradl wrote: Sorry to bother you again - but I'm just too stupid to get it to work. Using cygwin I did a gcc -c adler32.c then I renamed the created adler32.o to adler32.obj. But when trying to link I get a Undefined symbol: ZLIBEX...

Re: [lazarus] Making GTK Thread Safe

2008-01-04 Thread Giuliano Colla
Al Boldi ha scritto: For now, when you start a thread non-suspended, TThread.Execute(false), can you see the memory increase for your project1 app when checking with top? Then, when you TThread.WaitFor/TThread.Free, does it decrease? And by how much? Below is the simplified console app.