[lazarus] htmlhelp1 example patch

2008-01-25 Thread Andrea Mauri
Checking the htmlhelp1.lpi example I found an error, I don't know how to apply a patch so I tried to create one. I attached it. Once applied the patch also the oncreate event should be removed by the form. Without this patch the example does not work, applying it the example works both on windows

[lazarus] can't find libc

2007-10-29 Thread Andrea Mauri
Dear All, I just installed fpc (2.2) and lazarus (svn) on an Ubuntu linux machine (i386). I added to the uses clause libc but when I try to compile it I got the error message libc not found. Libc is in the fpc source directory in: /rtl/netwlibc/ and in /packages/base/libc/ But also manually

Re: [lazarus] can't find libc

2007-10-29 Thread Andrea Mauri
of eth0, and the information about the user info (username and so on), if it is possible to do it with Unix unit, well, it's better. Thank you, Andrea Mattias Gaertner ha scritto: On Mon, 29 Oct 2007 12:09:05 +0100 Andrea Mauri [EMAIL PROTECTED] wrote: Dear All, I just installed fpc (2.2

Re: [lazarus] can't find libc

2007-10-29 Thread Andrea Mauri
shit. I missed it. Thank you. Vincent Snijders ha scritto: Andrea Mauri schreef: I tried the -vt option, looking at the messages I found that all the units are searched in /usr/lib/fpc/2.2.0/ and subdirectory but never in the fpc source directory I have set in the lazarus environment options

[lazarus] checkoptions bug

2007-10-29 Thread Andrea Mauri
Dear all, if I build a simple console application, just created by lazarus and I run it using the -help option I get this error: project1 -help exception at : Invalid option at position 1: e. Both in windows and linux. The result is given by: ErrorMsg:=CheckOptions('h','help'); While

Re: [lazarus] Ubuntu and UIB

2007-05-18 Thread Andrea Mauri
Solved. It was a problem related to a conflict between libpthread.so.0 and libpthread.so.20. I don't know exactly how I solved the problem. I made a lot of trials. Removing and reinstalling those libraries. andrea Andrea Mauri wrote: Where I have to check if defines UseCthreads? And why

Re: [lazarus] Ubuntu and UIB

2007-05-17 Thread Andrea Mauri
Where I have to check if defines UseCthreads? And why on FC6 UIB works correctly and not on Ubuntu 7.04? About threads, when I rebuild lazarus I got these messages: Free Pascal Compiler version 2.0.4 [2007/02/02] for i386 Copyright (c) 1993-2006 by Florian Klaempfl Target OS: Linux for i386

[lazarus] Ubuntu and UIB

2007-05-16 Thread Andrea Mauri
I installed fpc and lazarus on Ubuntu. fpc using apt lazarus, last svn In my project I use UIB to access to a firebird DB. I used UIB (2.1) both on windows and linux (FC6). And it works fine. On Ubuntu I installed without any problem UIB but if I put a JvUIBDataset on a form and try to compile

Re: [lazarus] Ubuntu and UIB

2007-05-16 Thread Andrea Mauri
, UIBLaz; begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end. But nothing was changed. The messages are the same as before. andrea Michael Van Canneyt wrote: On Wed, 16 May 2007, Andrea Mauri wrote: I installed fpc and lazarus on Ubuntu. fpc

Re: [lazarus] TDBgrid float: bug?

2007-05-09 Thread Andrea Mauri
problem. I will try with displayformat a. Pieter Valentijn wrote: Use numeric(12,2) or what ever to create a numeric field with set decimal. Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Andrea Mauri [mailto:[EMAIL

Re: [lazarus] TDBgrid float: bug?

2007-05-09 Thread Andrea Mauri
? a. Jesus Reyes wrote: --- Andrea Mauri [EMAIL PROTECTED] escribió: Dear all, I have some problems with TDBgrid and float values. Firebird database. I have a table with two fields. One field is a (FIELD_FLOAT) FLOAT and the other DOUBLE PRECISION (FIELD_DOUBLE). I tried some inserts and I show

Re: [lazarus] TDBgrid float: bug?

2007-05-09 Thread Andrea Mauri
How can I access the DisplayFormat property? I can see it only in the object inspector and not by code: DBGrid1.Columns[0] .displayformat Doesn't exist. a. Jesus Reyes wrote: --- Andrea Mauri [EMAIL PROTECTED] escribió: Dear all, I have some problems with TDBgrid and float values

Re: [lazarus] create DB runtime

2007-05-08 Thread Andrea Mauri
I found createdb in UIB but not in sqldb connection component. I tried it and it works properly. Thanks, a. Joost van der Sluis wrote: On Thu, 2007-04-26 at 14:13 +0200, Andrea Mauri wrote: Hi, it is possible to create a database at runtime using sqldb? How can I do it? Use

[lazarus] TDBgrid float: bug?

2007-05-08 Thread Andrea Mauri
Dear all, I have some problems with TDBgrid and float values. Firebird database. I have a table with two fields. One field is a (FIELD_FLOAT) FLOAT and the other DOUBLE PRECISION (FIELD_DOUBLE). I tried some inserts and I show the table using DBGrid. If I exec this: insert into TABLE1

Re: [lazarus] SQLquery

2007-05-04 Thread Andrea Mauri
?) On Thu, 2007-05-03 at 16:50 +0200, Andrea Mauri wrote: incorrect values within sqlda structure I got this error only if the DB is not empty, if the DB is empty the query opens properly. I tested the same query with a SQL manager and using zeos components. In both cases it works properly. I

Re: [lazarus] SQLquery

2007-05-04 Thread Andrea Mauri
= D2.D2_IDDESCVALUE2 instead of select * from DESCVALUES1 D1 left join DESCVALUES2 D2 on D1.D1_IDDESCVALUE1 = D2.D2_IDDESCVALUE2 it works properly also with SQLdb. a. Andrea Mauri wrote: Ok, a brief explanation. I am developing a software for molecular descriptors calculation. For every

[lazarus] SQLquery

2007-05-03 Thread Andrea Mauri
Dear all, I am using TSQLquery with a TIBconnection to an interbase database. I have a query like this: select T1.ID, T1.FIELD1, T2.ID, T2.FIELD1 from TABLE1 T1 left join TABLE2 T2 on T1.ID = T2.ID If I use this query with TSQL query I get an error duplicate fieldname ID Why? If I commit the

Re: [lazarus] SQLquery

2007-05-03 Thread Andrea Mauri
T2 on T1.ID = T2.ID It's not a bug, I think. Andrea Mauri escribió: Dear all, I am using TSQLquery with a TIBconnection to an interbase database. I have a query like this: select T1.ID, T1.FIELD1, T2.ID, T2.FIELD1 from TABLE1 T1 left join TABLE2 T2 on T1.ID = T2.ID If I use this query with TSQL

Re: [lazarus] SQLquery

2007-05-03 Thread Andrea Mauri
join TABLE2 T2 on T1.ID = T2.ID It's not a bug, I think. Andrea Mauri escribió: Dear all, I am using TSQLquery with a TIBconnection to an interbase database. I have a query like this: select T1.ID, T1.FIELD1, T2.ID, T2.FIELD1 from TABLE1 T1 left join TABLE2 T2 on T1.ID = T2.ID If I use this query

[lazarus] cannot find -lgds

2007-04-26 Thread Andrea Mauri
Hi, compiling lazarus svn on Fedora core 6 (fpc 2.0.4) I get: /usr/bin/ld cannot find -lgds some libraries are missing? andrea -- Andrea Mauri PhD student - Chemical Sciences Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza

[lazarus] create DB runtime

2007-04-26 Thread Andrea Mauri
Hi, it is possible to create a database at runtime using sqldb? How can I do it? Thanks, Andrea -- Andrea Mauri PhD student - Chemical Sciences Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza della Scienza, 1 20126 Milano

Re: [lazarus] cannot find -lgds

2007-04-26 Thread Andrea Mauri
I found the problem. I tried to install Interbaselaz package but actually I have not installed firebird yet. Bye, Andrea Andrea Mauri wrote: Hi, compiling lazarus svn on Fedora core 6 (fpc 2.0.4) I get: /usr/bin/ld cannot find -lgds some libraries are missing? andrea -- Andrea Mauri PhD

Re: [lazarus] cannot find -lgds

2007-04-26 Thread Andrea Mauri
Actually my problem is that I am not able to install firebird on FC6. Any hint? a. Graeme Geldenhuys wrote: On 4/26/07, Andrea Mauri [EMAIL PROTECTED] wrote: I found the problem. I tried to install Interbaselaz package but actually I have not installed firebird yet. That would help

[lazarus] read big file and store info

2007-03-30 Thread Andrea Mauri
Dear all. I need to read big text file and store the starting position and length of blocks that are present in this file. I have text file with a tag that identifies the beginning of a text block (this tag in the example is - start -) and a tag that identifies where my block finish (i.e. -

Re: [lazarus] Re: GExperts + Source formatter

2007-03-16 Thread Andrea Mauri
I have seen it. I don't know if it works under linux. I never used it. I think the URL is: http://jedicodeformat.sourceforge.net/ andrea Graeme Geldenhuys wrote: On 3/16/07, Roozbeh GHolizadeh [EMAIL PROTECTED] wrote: i always used jcl code formatter,it was nice one too.also opensource.

Re: [lazarus] lazarus saves every time I compile

2007-02-07 Thread Andrea Mauri
de Carvalho [EMAIL PROTECTED] wrote: On 2/6/07, Andrea Mauri [EMAIL PROTECTED] wrote: ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to restore the saved files? That doesn't

[lazarus] lazarus saves every time I compile

2007-02-06 Thread Andrea Mauri
Lazarus saves my project every time I compile it. I open an existing project, I modify it, I compile it, I close the project without saving it and saying to lazarus, when it asks me, that I don't want to save. The project is saved anyway with the modifications. Lazarus last svn on winxp. I'm

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Andrea Mauri
want to make a manual backup of my project every time I modify it. I want that lazarus saves my project only if I decide to save it and not if I compile it. Is it not possible to have the same behavior as in Delphi? Thank you, andrea Vincent Snijders wrote: Andrea Mauri schreef: Lazarus

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Andrea Mauri
ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to restore the saved files? thanks, andrea Vincent Snijders wrote: Andrea Mauri schreef: Ok in order to compile it needs to save my project

Re: [lazarus] TFormStorage

2006-11-24 Thread Andrea Mauri
thanks andrea Mattias Gaertner wrote: On Tue, 21 Nov 2006 09:52:00 +0100 Andrea Mauri [EMAIL PROTECTED] wrote: Hi, When I put a TFormStorage on a form (last SVN) an error occurs. Error Creating Component: error creating TFormStorage A TFormStorage is an abstract base class. Use

[lazarus] deploy an application

2006-09-21 Thread Andrea Mauri
Hi to all, I build a little application that I would like to deploy by the web. I compiled both on Windows and Linux. For the Windows application I used InnoSetup, I deploy only the exe file. I need to deploy some libraries too? And for Linux? How can I know which libraries my application needs

Re: [lazarus] deploy an application

2006-09-21 Thread Andrea Mauri
You can use 'ldd binary', it will show you a list of all linked libraries. It depends on the LCL-Interface, you use. If you choosed GTK1, then the GTK1 libs are needed. Most of the libs listed there are on mostly all Linux distributations out there. I compiled my app on Fedora and tested on

[lazarus] FBLib or Zeos?

2006-04-07 Thread Andrea Mauri
Hi to all, I'm starting the development of an application that will use a Firebird DB. Using Delphi I've always used the Interbase components to connect to the IB DB. I would like to implement this application in Lazarus using Firebird. I have to choose between FBlib components and Zeos. Which

[lazarus] TAB width

2006-04-03 Thread Andrea Mauri
a movement of 2 characters when I press the TAB? Thanks, Andrea -- Andrea Mauri PhD student - Chemical Sciences Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza della Scienza, 1 20126 Milano - Italy Tel: ++39 02 64482801 mailto

Re: [lazarus] cannot find -IGLU

2006-03-29 Thread Andrea Mauri
thank you, fixed. a. Christian U. wrote: install mesa devel librarys or your native opengl devel libs - Original Message - From: Andrea Mauri [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, March 28, 2006 2:23 PM Subject: [lazarus] cannot find -IGLU While rebuilding

[lazarus] GLScene package

2006-03-29 Thread Andrea Mauri
Hi to all, I've installed lazarus (SVN) on my Fedora Core 5 pc. I'm trying to install the GLScene package (I've already installed it on my windows 2000 pc). I found two problems, the first one is that in the cvs repository all the subdir included in the Source directory are in lowercase but

Re: [lazarus] VitrualTreeView

2006-02-21 Thread Andrea Mauri
t. Darius _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Andrea Mauri PhD student - Chemical Sciences Milano Chemometrics and QSAR Research Group Departm

Re: [lazarus] VirtualTree

2006-02-16 Thread Andrea Mauri
I use winXp and tortoise svn that I use to update lazarus but how can i download the SVN of the virtualtreeview. Thaks, Andrea Christian U. wrote: It works already use version from CVS - Original Message - From: Andrea Mauri To: lazarus

Re: [lazarus] VirtualTree

2006-02-01 Thread Andrea Mauri
Micha Nelissen wrote: On Mon, 30 Jan 2006 17:21:15 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Andrea Mauri wrote: but it is commented in the lmessages.pp unit: //CM_PARENTFONTCHANGED= CM_BASE + 8; // LCL doesn't send or receive Anyone could help me

[lazarus] lazarus components

2006-02-01 Thread Andrea Mauri
In internet I found a lot of tutorial on how to write components in delphi. I found also a tutorial that explain how to convert delphi component for lazarus. I would like to try to write components with lazarus, there is a wiki page or a tutorial to do that? Can I follow the tutorial dedicated

Re: [lazarus] Re: Can't rebuild lazarus

2005-12-16 Thread Andrea Mauri
Thanks, I set the correct path to the make file for FPC. Now everything works. a. Felipe Monteiro de Carvalho wrote: Andrea Mauri wrote: I also tried to rebuild lazarus but it gives me 1511 errors during make. I tried /make clean all /and it gives me 1511 error. A lot of command syntax

[lazarus] MAC address

2005-11-16 Thread Andrea Mauri
I would like to convert a delphi/kylix project in lazarus project. In the kylix project there is also a function that checks the MAC address: ethernet:= 'eth0'; i:= socket(AF_INET, 2, 0) ; if not i 0 then begin StrPLCopy(@f.ifrn_name, ethernet, IFNAMSIZ); if not

Re: [lazarus] MAC address

2005-11-16 Thread Andrea Mauri
Very helpful. Thank you. a. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives