Re: [lazarus] A Thread in DLL

2007-12-08 Thread Al Boldi
melchiorre caruso wrote: Al Boldi wrote: melchiorre caruso wrote: procedure TTestLibrary.TestBtnClick(Sender: TObject); nbsp; LibHandle := LoadLibrary('thread2lib.dll'); CreateMyThreadFunc := GetProcedureAddress(LibHandle,'CreateMyThread'); Make sure your library actually loads...

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Andrew Haines ha scritto: Giuliano Colla wrote: I resumed after some time our core application which I'm trying to migrate to Lazarus, and to my dismay I discovered that align doesn't work anymore as it should and used to. [...] A workaround I've found is to set the first

Re: [lazarus] Proposed About dialog patch

2007-12-08 Thread Mattias Gaertner
On Thu, 6 Dec 2007 16:55:12 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I've got the following local changes to my Lazarus. I think these will be handy for everybody when part of official Lazarus. Changes: * Format the compile date to the ISO 8601 format: -mm-dd

Re: [lazarus] [patch] Insert a GUID menu fix

2007-12-08 Thread Mattias Gaertner
On Thu, 6 Dec 2007 15:57:04 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Attached is a patch to fix the pretty looking but non-functional Insert a GUID menu item. :-) I forgot to hookup the OnClick event. Dope! Applied. Thanks. Mattias

Re: [lazarus] Class to store pointer values indexed by pointers

2007-12-08 Thread Luiz Americo Pereira Camara
Mattias Gaertner wrote: On Fri, 07 Dec 2007 22:52:29 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: I need a class that stores a pointer value indexed by a pointer. It should provide a way to retrieve the value using the indexed value. I know TMap from Maps unit. There's

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Mattias Gaertner
On Fri, 07 Dec 2007 20:27:06 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Giuliano Colla ha scritto: I resumed after some time our core application which I'm trying to migrate to Lazarus, and to my dismay I discovered that align doesn't work anymore as it should and used to. I have a

Re: [lazarus] Class to store pointer values indexed by pointers

2007-12-08 Thread Mattias Gaertner
On Sat, 08 Dec 2007 09:53:53 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 07 Dec 2007 22:52:29 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: I need a class that stores a pointer value indexed by a pointer. It should

Re: [lazarus] Class to store pointer values indexed by pointers

2007-12-08 Thread Inoussa OUEDRAOGO
Hi, There is a licencing difference : fpc/AVL_Tree is GPL 2 ( or above ) while lcl/AvgLvlTree is _modified_ LGPL . Is there a reason for this ? Best regards. 2007/12/8, Mattias Gaertner [EMAIL PROTECTED]: On Sat, 08 Dec 2007 09:53:53 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:

Re: [lazarus] To all technical writers...

2007-12-08 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: I normally use LaTeX for documentation or articles. LaTeX does the most beautiful typesetting by far. But seeing that most people don't even know what LaTeX is I thought another format might help (for our company at least). Please note, I'm not suggesting rewriting

Re: [lazarus] FPC unit in Lazarus

2007-12-08 Thread SteveG
John wrote: just to be pedantic, fpcmkcfg.exe (note first c in fpcmkcfg) Very true - caught myself on that one originally as well - damn cut and paste :) Isn't it in the bin\target subdirectory under the INSTALL_PREFIX dir ? you can run fpcmkcfg.exe -d

[lazarus] Synedit and highlighters

2007-12-08 Thread Mark Morgan Lloyd
I'm looking at the Synedit v2 SQL highlighter which has support for PostgreSQL. When I have time I'll try and backport this into the fork used by Lazarus- where should I send the patch when done? On a slightly different issue: does anybody know whether there's a way to get Synedit to apply a

Re: [lazarus] Synedit and highlighters

2007-12-08 Thread Mattias Gaertner
On Sat, 08 Dec 2007 17:07:17 + Mark Morgan Lloyd [EMAIL PROTECTED] wrote: I'm looking at the Synedit v2 SQL highlighter which has support for PostgreSQL. When I have time I'll try and backport this into the fork used by Lazarus- where should I send the patch when done? See here

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Mattias Gaertner ha scritto: [...] Both solutions have their pros and cons. To use the current order (e.g. comparing Left instead of FBaseBounds.Left) is less stable, but more Delphi compatible. I changed it. Please test. Tested. Works fine, thank you. But if the other way around was

Re: [lazarus] Synedit and highlighters

2007-12-08 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: I'm looking at the Synedit v2 SQL highlighter which has support for PostgreSQL. When I have time I'll try and backport this into the fork used by Lazarus- where should I send the patch when done? See here http://wiki.lazarus.freepascal.org/Creating_A_Patch Thanks.

[lazarus] latest svn doesn't compile

2007-12-08 Thread Giuliano Colla
Latest svn doesn't compile under fpc 2.2.0. Identifier not found AllFilesMask, in lcl/include/fileutil.inc Replacing AllFilesMask with GetAllFilesMask compiles properly. Giuliano _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Mattias Gaertner ha scritto: On Sat, 08 Dec 2007 19:31:17 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Mattias Gaertner ha scritto: [...] Both solutions have their pros and cons. To use the current order (e.g. comparing Left instead of FBaseBounds.Left) is less stable, but more

Re: [lazarus] latest svn doesn't compile

2007-12-08 Thread Tom Gregorovic
On Dec 8, 2007 7:49 PM, Giuliano Colla [EMAIL PROTECTED] wrote: Latest svn doesn't compile under fpc 2.2.0. Identifier not found AllFilesMask, in lcl/include/fileutil.inc Replacing AllFilesMask with GetAllFilesMask compiles properly. Giuliano Sorry, my fault. Thanks. Tom

Re: [lazarus] Wrongly option ... contains a not existing directory warning

2007-12-08 Thread Andrey Gusev
Directory existence checking in IDE dialogs works fine (both compiler options and paths editor). Issue #10369 still actual. I test directory existence checking mechanic purely based on FindFirst (specific directory entries presence used) - it works fine. It will be useful?

Re: [lazarus] wincontrol align bug

2007-12-08 Thread Giuliano Colla
Giuliano Colla ha scritto: The FBaseBounds are sometimes wrong in 0.9.24. This has been fixed in svn. Did you test with the current 0.9.25? Yes. I saw no changed behavior since r 12699 until your modified it in r 13219. However, as I have an app which shows the problem, I can try to trace