Re: [lazarus] Weird context-menu popup in WinCE

2008-01-07 Thread Alvise Nicoletti
It's for sure a bug, but from the behaviour it seems a windows-related bug. 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.

Re: [lazarus] MouseMove problem in WinCE

2007-12-28 Thread Alvise Nicoletti
Paul Michell ha scritto: Hello Everyone, I have just updated Lazarus to latest SVN (13497) and my WinCE application dies if I use a mouse move event. The following is a trivial example that displays the same bug. It works for Win32 but not on WinCE: Type Tform1 = Class(Tform) Procedure Fo

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread Alvise Nicoletti
willem ha scritto: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. So the Lazarus and Free Pascal developers have done an excellent Job ! regards.

Re: [lazarus] cross-compiler packages

2007-12-10 Thread Alvise Nicoletti
That's great ;) Well done, I'll try it tomorrow. This modified create_fpc_deb.sh (from lazarus/tools/install) will handle the environment variables OS_TARGET and CPU_TARGET and detect when a cross compiler is being built if CPU_TARGET differs from `dpkg --print-architecture` e.g. OS_TARGET=lin

Re: [lazarus] Serial Comm Support Windows

2007-11-28 Thread Alvise Nicoletti
Sebastian Günther ha scritto: Alvise Nicoletti schrieb: Sorry but... where is the serial unit for linux/unix? I don't find it... and I'd like to try. It's part of the RTL. You can find the source in rtl/unix/serial.pp Reg

Re: [lazarus] printer4lazarus lazarus rebuild error

2007-11-28 Thread Alvise Nicoletti
Matthew Rollings ha scritto: Using the latest svn revision (13063) of lazarus and FPC 2.2.0, trying to rebuild lazarus to use the gtk2 interface i get the following error: /usr/share/lazarus/components/printers/printer4lazarus.pas(1,1) Fatal: Can't find unit libc used by uDlgSelectPrinter an

Re: [lazarus] Serial Comm Support Windows

2007-11-27 Thread Alvise Nicoletti
Jeff Steinkamp ha scritto: I know there is a serial unit for Linux/Unix, but is there similar support for serial communications for the Windows Platform? Jeff Steinkamp - N7YG Tucson, AZ SCUD Missile Coordinates N32-13-55.01 W110-50-51.91 http://n7yg.net http://home.earthlink.net/~jksteinkamp

Re: [lazarus] Sockets and Lazarus + WinCE

2007-11-22 Thread Alvise Nicoletti
Daniel Rincón García ha scritto: Can I use the *sockets* components to make an application for WinCE? Regards. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.1

Re: [lazarus] WinCE, howto open a networkpath?

2007-11-20 Thread Alvise Nicoletti
Adrian Veith ha scritto: Hi John, the description of the connection manager API is on the msnd website: http://msdn2.microsoft.com/en-us/library/aa457271.aspx I haven't found any parameter to disable the progress dialog. Sorry if I go a little out of the topic... but WinCE is not discussed m

Re: [lazarus] [fpc] Request about winCE compatibility

2007-11-14 Thread Alvise Nicoletti
Mark Morgan Lloyd ha scritto: Alvise Nicoletti wrote: In general, how can I understand if a palm runs an ARM or not if it's not expecially written on the technical datasheet? (they often omit that). Writing with very little knowledge of those devices: minimal Googling turns up

Re: [lazarus] [fpc] Request about winCE compatibility

2007-11-14 Thread Alvise Nicoletti
Felipe Monteiro de Carvalho ha scritto: On Nov 13, 2007 5:55 PM, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Actually, the limit is WM 2003 or it will work also on WM 2005? It's WM 2003 or superior, so it works with 2005 too. It may even work on older versions, but I n

[lazarus] [fpc] Request about winCE compatibility

2007-11-13 Thread Alvise Nicoletti
Hi... I know that the question isn't properly your stuff... but I want to try... Having an application compiled with Lazarus, wich is the restrictions of compatibility? I readed the wiki: http://wiki.lazarus.freepascal.org/index.php/Windows_CE_Interface But I had a little difficulty to unders

Re: [lazarus] WinCE and remote database

2007-11-13 Thread Alvise Nicoletti
Hi Leonardo. I will try to support you in the best way I can, but please keep in mind that I'm a noob both with lazarus and delphi. The first thing you have to understand, is that lazarus itself is not able to do everything on a system, sometimes it uses (like it's supposed to be) external l

Re: [lazarus] WinCE and remote database

2007-11-12 Thread Alvise Nicoletti
to you. Of course I can't give you the application cause it's useless without the same database structure (it would not even start cause it needs a login to be prompted). Regards, Alvise Nicoletti _

[lazarus] [fpc] strange behaviour (crash) in a closing linux daemon

2007-11-07 Thread Alvise Nicoletti
Hi... In my linux daemon, with fpc 2.0.4 I was simply (in the main project) looping while the program flag "quit" was false and, after that value goes true, I was doing a : shell('rm /var/run/myprogram.pid'); to remove the pid used into it's init.d script. So the pid is deleted and the daemon

Re: [lazarus] DOM bug with 64 bit installation

2007-11-05 Thread Alvise Nicoletti
Hess, Philip J ha scritto: Michael, Thanks for pointing that out about ReadXMLFile. I see that my code has the same memory leak. I think the confusion lies in that with Delphi once TXMLDocument has been used to create the object, the file is loaded by setting the object's FileName property, so

[lazarus] DOM bug with 64 bit installation

2007-11-02 Thread Alvise Nicoletti
Hi... I finished to set up everything. Lazarus is 0.9.23 well working (I had problems with printers and I just uninstalled the packages into the "package list") Fpc is 2.2.0 compiled from //svn.freepascal.org/svn/fpc/branches/fixes_2_2 (so 2.2.0 + bugfixes). I'm getting: In 'file:///etc/my.xml

Re: [lazarus] Strange xml error after updating fpc to 2.2.1 (+ bugfixes). I'm using 64 bit.

2007-11-02 Thread Alvise Nicoletti
Mattias Gaertner ha scritto: On Fri, 02 Nov 2007 15:38:42 +0100 Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Now i'm getting: In 'file:///etc/PoolPatrol.xml' (line 4 pos 5): Unmatching element end tag (expected "") The file is: asd I removed the

Re: [lazarus] Strange xml error after updating fpc to 2.2.1 (+ bugfixes). I'm using 64 bit.

2007-11-02 Thread Alvise Nicoletti
Now i'm getting: In 'file:///etc/PoolPatrol.xml' (line 4 pos 5): Unmatching element end tag (expected "") The file is: asd I removed the part to be sure that wasn't the problem... and infact there is something weird in the component. However, maybe it's something related to a bugg

Re: [lazarus] Strange xml error after updating fpc to 2.2.1 (+ bugfixes). I'm using 64 bit.

2007-11-02 Thread Alvise Nicoletti
Mattias Gaertner ha scritto: On Fri, 02 Nov 2007 12:03:45 +0100 Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Hi... Compiling my application with lazarus 0.9.23 and 2.2.1 on a 32 bit machine the application works good. On another pc, I have the same configuration but with 64 bit, and

[lazarus] Strange xml error after updating fpc to 2.2.1 (+ bugfixes). I'm using 64 bit.

2007-11-02 Thread Alvise Nicoletti
Hi... Compiling my application with lazarus 0.9.23 and 2.2.1 on a 32 bit machine the application works good. On another pc, I have the same configuration but with 64 bit, and using xml I have this error: In 'stream:' (line 1 pos 3): 'xml' is a reserved word; it must be lowercase At line 1 the

[lazarus] [fpc] SQLdb: not clear excetion, "Server connect failed."

2007-10-31 Thread Alvise Nicoletti
I finally managed to install lazarus on a linux 64 bits. But when I start the once-32-bit-working program that now is at 64 bit I get this message when I do a query: Server connect failed. I also got a "Connection esabilished" in the beginning of the program. So that should not be a library p

Re: [Lazarus] project options -> version info (on a linux program)

2007-10-30 Thread Alvise Nicoletti
Mattias Gärtner ha scritto: Zitat von Alvise Nicoletti <[EMAIL PROTECTED]>: Mattias Gaertner ha scritto: On Thu, 25 Oct 2007 17:52:42 +0200 Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Hi... Configuring a program into "project options" I have a "

[lazarus] .deb packages on sourceforge

2007-10-30 Thread Alvise Nicoletti
Hi.. does someone knows who is handling .deb packages on sourceforge at this address? http://sourceforge.net/project/showfiles.php?group_id=89339 I'd like to use the amd64 versions but there are some packages missing: fp-utils

Re: [Lazarus] project options -> version info (on a linux program)

2007-10-30 Thread Alvise Nicoletti
Mattias Gaertner ha scritto: On Thu, 25 Oct 2007 17:52:42 +0200 Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Hi... Configuring a program into "project options" I have a "application.title:= 'title'" added after the begin of my program... Also,

[Lazarus] project options -> version info (on a linux program)

2007-10-25 Thread Alvise Nicoletti
Hi... Configuring a program into "project options" I have a "application.title:= 'title'" added after the begin of my program... Also, a resource is added for the compiler (PoolPatrol.res). After that, when I try to compile, I get both a "identifier not found Application" and a "can't open re

[lazarus] compile failure after fpc update

2007-10-19 Thread Alvise Nicoletti
Hi... I updated from fpc 2.0.4 to 2.1.1. I succesfully downloaded the fixes version, compiled it, and also downloaded the new version of lazarus (0.9.23) and succesfully rebuild it. However, when I try to compile my application, I have a "fatal: can't find unit Contnrs used by lEvents" (in ln

Re: [lazarus] SQLdb and 64 bits

2007-10-18 Thread Alvise Nicoletti
Joost van der Sluis ha scritto: Op woensdag 17-10-2007 om 18:03 uur [tijdzone +0200], schreef Alvise Nicoletti: I tryed to compile my linux service for a server with ubuntu 64 bit and mysql 5. So I changed in the code every mysql40 reference to mysql50. I tryed to change target, compile

[lazarus] SQLdb : program crash using more than 9-10 fieldsets: bug...?

2007-10-18 Thread Alvise Nicoletti
This is a bug notification... I managed to re-create the "segmentation fault" bug. The service was crashing without giving any output and any reason, the problem was in the NUMBER of the parameters in the result set fetched in the select: 10. Fetching less parameters (9), all works. You can

Re: [lazarus] SQLdb and 64 bits

2007-10-18 Thread Alvise Nicoletti
Henry Vermaak ha scritto: On 17/10/2007, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Hi... I tryed to compile my linux service for a server with ubuntu 64 bit and mysql 5. So I changed in the code every mysql40 reference to mysql50. I tryed to change target, compile, and copy the bin

[lazarus] SQLdb and 64 bits

2007-10-17 Thread Alvise Nicoletti
Hi... I tryed to compile my linux service for a server with ubuntu 64 bit and mysql 5. So I changed in the code every mysql40 reference to mysql50. I tryed to change target, compile, and copy the binary to the another server, when I try to connect to the database all I get is: Can not load MyS

Re: [lazarus] SQLdb : get last_inserted_id

2007-10-17 Thread Alvise Nicoletti
Sorry if I bother you... but I still have to understand: - if the component don't allows to do that kind of query (to get a last_insert_id) - if i'm doing something wrong - if there is a bug somewere Also, now I have a new problem... A big query I do (the smaller ones works...) works only the

Re: [lazarus] SQLdb : get last_inserted_id

2007-10-16 Thread Alvise Nicoletti
Joost van der Sluis ha scritto: Op dinsdag 16-10-2007 om 10:45 uur [tijdzone +0200], schreef Alvise Nicoletti: John ha scritto: Alvise Nicoletti wrote: Hi... this is the complete code I'm using to extract the last_insert_id from the table TABLE1, but it still don&#x

Re: [lazarus] SQLdb : get last_inserted_id

2007-10-16 Thread Alvise Nicoletti
John ha scritto: Alvise Nicoletti wrote: Hi... this is the complete code I'm using to extract the last_insert_id from the table TABLE1, but it still don't works. Infact I get always 0 from the variable "id_ingresso", pheraphs in the database the row is correctly insert

Re: [lazarus] SQLdb : get last_inserted_id

2007-10-15 Thread Alvise Nicoletti
Hi... this is the complete code I'm using to extract the last_insert_id from the table TABLE1, but it still don't works. Infact I get always 0 from the variable "id_ingresso", pheraphs in the database the row is correctly inserted. Maybe it's a bug of the component?

Re: [lazarus] SQLdb : get last_inserted_id

2007-10-12 Thread Alvise Nicoletti
No, in the original code it's correct. However: I'm still having problems, someone can show me some code about how to extract a "last_insert_id" from a mysql database after a insert, with SQLdb libs? On 12/10/2007, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: ---8

Re: [lazarus] SQLdb : get last_inserted_id

2007-10-12 Thread Alvise Nicoletti
The query was incomplete cause I censored it... just cause the mailing list is public and sometimes googling I found pieces of "our customers stuff". I mailed you in private the complete code. Thank you. Op vrijdag 12-10-2007 om 10:39 uur [tijdzone +0200], schreef Alvise

[lazarus] SQLdb : get last_inserted_id

2007-10-12 Thread Alvise Nicoletti
Hi... I'm having some problems to get the last_insert_id after a insert query... I'm getting always 0, the problem (I suppose) is that I have to do everything in the same transaction... I paste you some code here to help me to understand the problem (id_ingresso is the variable I get always =

Re: [lazarus] new Thread Manager Demo

2007-08-07 Thread Alvise Nicoletti
Razvan Adrian Bogdan ha scritto: For some reason on linux at least the suspended property is no always set correctly, one can suspend a thread by creating a method like "TrySuspend" and set a variable "FSuspend" when the execute is run check for FSuspend then set it to false and call Suspend. I t

Re: [lazarus] Working with XML: crosscompatibility

2007-07-13 Thread Alvise Nicoletti
David Lyon ha scritto: Brett Hunter wrote: Has anyone tried NativeXML? I have compiled it under both Delphi and Lazarus and don't seem to have any problems (it took about 5 minutes to change some code to get it to work). it looks good... but I'm after something that is open source also ___

Re: [lazarus] new Thread Manager Demo

2007-07-11 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: Oh sorry, I completely forgot. I'll submit a patch tomorrow for inclusion in Lazarus. Graeme. On 11/07/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Hi. Was this demo uploaded? Can someone s

Re: [lazarus] new Thread Manager Demo

2007-07-11 Thread Alvise Nicoletti
Hi. Was this demo uploaded? Can someone show me were? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Working with XML: crosscompatibility

2007-07-04 Thread Alvise Nicoletti
Luiz Americo Pereira Camara ha scritto: Alvise Nicoletti wrote: Hi... I have to parse xml both with Lazarus on linux (server) and Delphi on Windows (client). Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units. Is there something that I can use in Delphi with the same

Re: [lazarus] "Emulate" Php Md5 (Crypt) and Sha1

2007-07-03 Thread Alvise Nicoletti
John Meyer ha scritto: Alvise Nicoletti wrote: Hi to all... did anyone never heard how to implement crypt and sha1 functions of php inside delphi/lazarus? While this isn't a cross-platform solution, have you tried the nix crypt and sha func

[lazarus] "Emulate" Php Md5 (Crypt) and Sha1

2007-07-03 Thread Alvise Nicoletti
Hi to all... did anyone never heard how to implement crypt and sha1 functions of php inside delphi/lazarus? My problem is the "salt" used in the crypt function, cause I'm already able to create a md5 succesfully... That is an example of code about them in php: define ("CRYPT_MD5",1); [...] $c

Re: [lazarus] Wince windows crosscompile installer

2007-07-02 Thread Alvise Nicoletti
Felipe Monteiro de Carvalho ha scritto: On 7/2/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Actually we're trying (with a lot of difficulties I already told about) Lazarus for commercial purposes, Everytime you find a problem with Lazarus that stops you from doing your work

Re: [lazarus] Wince windows crosscompile installer

2007-07-02 Thread Alvise Nicoletti
[EMAIL PROTECTED] ha scritto: - Original Message - From: Alvise Nicoletti <[EMAIL PROTECTED]> Date: Monday, July 2, 2007 4:30 pm Subject: Re: [lazarus] Wince windows crosscompile installer My boss don't pays me to compile my IDE, but to produce software, Your boss

Re: [lazarus] Wince windows crosscompile installer

2007-07-02 Thread Alvise Nicoletti
[EMAIL PROTECTED] ha scritto: - Original Message - From: Alvise Nicoletti <[EMAIL PROTECTED]> Date: Monday, July 2, 2007 3:51 pm Subject: [lazarus] Wince windows crosscompile installer Hi... the ftp://ftp.hu.freepascal.org/pub/lazarus/cross/ directory, where I used to download

[lazarus] Wince windows crosscompile installer

2007-07-02 Thread Alvise Nicoletti
Hi... the ftp://ftp.hu.freepascal.org/pub/lazarus/cross/ directory, where I used to download wince crosscompiler installer, is empty. Where can I found the lastest installer for wince crosscompiler libraryes installer? _ To un

[lazarus] Working with XML: crosscompatibility

2007-06-28 Thread Alvise Nicoletti
Hi... I have to parse xml both with Lazarus on linux (server) and Delphi on Windows (client). Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units. Is there something that I can use in Delphi with the same code? Or, otherwise, is there some XML component compatible for both Del

Re: [lazarus] Threads and Forms

2007-06-11 Thread Alvise Nicoletti
Luca Olivetti ha scritto: En/na Al Boldi ha escrit: Have you found a problem with synchronize now? Yes: now it works :-D Bye Hi ;) Finally, was the demo uploaded ? Catch the link on the mailing list ! _ To unsubscribe

Re: [lazarus] new Thread Manager Demo

2007-06-04 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: It's 90% complete. I just need to make a few more changes due to .Suspend behavior under Linux. Graeme. On 6/4/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: > Any news about

Re: [lazarus] new Thread Manager Demo

2007-06-04 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: Hi, I'm busy writing a Thread Manager demo in Lazarus to help me understanding threads better. This demo will then serve as a good example of how to use threads and synchronization. No better way to learn something than writing code! :) A quick summary of what I wa

Re: [lazarus] What about a "stable" branch?

2007-06-04 Thread Alvise Nicoletti
Giuliano Colla ha scritto: With Lazarus I'm faced with a dilemma. I want to migrate to Lazarus Delphi/Kylix applications. For that I need a stable version to work with, even if I need many workarounds to solve problems still open. On the other hand I want to test the latest version, to follow

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Alvise Nicoletti
Ok, the code works perfectly, without declaring or creating any instance of the class. I have only one note... I get a segmentation fault the first time I used it cause there was a destructor that was freeing the class itself without checking if it was assigned (a check was useless in the "nor

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: On 6/1/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Does the delphi way work good in fpc mode? i never understand the difference between the two modes and actually in my project I got a "{$mode objfpc}" on the code. I prefer the 'objfp

[lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Alvise Nicoletti
I have to implement the pattern "Singleton", definition : "Ensure a class has only one instance, and provide a global point of access to it." Does the delphi way work good in fpc mode? i never understand the difference between the two modes and actually in my project I got a "{$mode objfpc}" o

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-06-01 Thread Alvise Nicoletti
patrick feillant ha scritto: hello try this, free download with image os http://www.microsoft.com/downloads/details.aspx?FamilyId=C62D54A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en T

Re: [lazarus] new Thread Manager Demo

2007-06-01 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: Hi, I'm busy writing a Thread Manager demo in Lazarus to help me understanding threads better. This demo will then serve as a good example of how to use threads and synchronization. No better way to learn something than writing code! :) A quick summary of what I wa

Re: [lazarus] Linux service developing

2007-05-29 Thread Alvise Nicoletti
A.J. Venter ha scritto: Look in the demo programs shipped with FPC, there is a fully working demo daemon called daemon.pp - among other things, it catches the crucial signals. A.J. On 5/29/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: I still got no answers about how capturing the s

Re: [lazarus] Linux service developing

2007-05-29 Thread Alvise Nicoletti
I still got no answers about how capturing the signals on linux. Searching the wiki I found nothing useful with "linux service", "signals", "sigkill", and other stuff like that... I found something googling but I can't work that way... Someone looked the code? Is that rubbish or it can be a b

Re: [lazarus] Linux service developing

2007-05-28 Thread Alvise Nicoletti
Thanks to Michael and to A.J. for the answers. To explanation purposes, i'll put the "main project" code at the end of that mail, so you can understand what I done by now and give me tips or alerts. Of course. KILL is just a signal like any other. You can have various signals : HUP common

[lazarus] Linux service developing

2007-05-28 Thread Alvise Nicoletti
Hi. In this week I did a small prototype of an application that I'm doing for linux with Lazarus. It open socket for remote visual control, mysql connections, and other nice things. Now I'm going to abstract more all the classes and make things better... but before that I want to ask you som

Re: [lazarus] StringReplace -> TReplaceFlags

2007-05-23 Thread Alvise Nicoletti
Horacio Jamilis ha scritto: Try StringReplace(s,'something','somethingElse',[rfReplaceAll]); The last parameter is a set... I guess :-) Horacio - Original Message - From: "Alvise Nicoletti" <[EMAIL PROTECTED]> To: Sent: Wednesday, May

[lazarus] StringReplace -> TReplaceFlags

2007-05-23 Thread Alvise Nicoletti
Sorry but I really don't understand this: StringReplace(s,'something','somethingElse',rfReplaceAll); servizio_server.pas(65,39) Error: Incompatible type for arg no. 4: Got "", expected "TReplaceFlags" What's that??? Shouldn't that work?

Re: [lazarus] WinCE misterious crashes

2007-05-15 Thread Alvise Nicoletti
Felipe Monteiro de Carvalho ha scritto: On 5/15/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: No, I didn't create that but I can give you the entire code to compile and test... you'll see it work on linux/windows and crash misteriously on wince with only a "segmentati

Re: [lazarus] ide installation on ubuntu

2007-05-15 Thread Alvise Nicoletti
Bram Kuijvenhoven ha scritto: Alvise Nicoletti wrote: The error I'm having it's surely a library name problem: Identifier not found "TMySQL40Connection" (I'm using 40 not 50). I tryed with the code that Bram sent me on the mail next to this one... and I got the same

Re: [lazarus] WinCE misterious crashes

2007-05-15 Thread Alvise Nicoletti
Vincent Snijders ha scritto: Alvise Nicoletti schreef: Hi... backtracing misterious crashes in wince with gdb i found a segmentation fault on binary loading on that row: (collect.inc row 169) Notify(Item,cnAdded); I'm not expert enough to debug this things, but I tryed to uncomment tha

[lazarus] WinCE misterious crashes

2007-05-15 Thread Alvise Nicoletti
Hi... backtracing misterious crashes in wince with gdb i found a segmentation fault on binary loading on that row: (collect.inc row 169) Notify(Item,cnAdded); I'm not expert enough to debug this things, but I tryed to uncomment that row and got that new error: Segmentation fault on collect.inc

[lazarus] TCP server/client comunication

2007-05-14 Thread Alvise Nicoletti
Hi... Looking into the components of Lazarus, the component nearer to the Delphi "TcpClient"-"TcpServer" (internet section) is TSimpleIpClient and TSimpleIpServer. Am I right? Are there anything else to do tcp/ip textual comunication with Lazarus? Does it work both on windows/linux? As a

Re: [lazarus] ide installation on ubuntu

2007-05-14 Thread Alvise Nicoletti
Joost van der Sluis ha scritto: You forgot the transaction. (What is the error you got?) On Mon, 2007-05-14 at 15:14 +0200, Alvise Nicoletti wrote: Henry Vermaak ha scritto: On 14/05/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: However: how difficult can it be to i

Re: [lazarus] ide installation on ubuntu

2007-05-14 Thread Alvise Nicoletti
Henry Vermaak ha scritto: On 14/05/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: However: how difficult can it be to install zeos on lazarus for linux? I prefer to use "light" libraries like I did in the past and I like SQLdb... however i need to be sure that all works

Re: [lazarus] ide installation on ubuntu

2007-05-14 Thread Alvise Nicoletti
Bram Kuijvenhoven ha scritto: Alvise Nicoletti wrote: How do I use the SQLdb component without graphical interface? I just have to do the same commands without putting the graphical component on the project? You can create the components in code, e.g. Conn := TMySQL50Connection.Create(nil

Re: [lazarus] ide installation on ubuntu

2007-05-14 Thread Alvise Nicoletti
It seems that with doing the process again and doing a reboot I finally installed Lazarus on ubuntu. It seems to compile well. Now I', trying to do a service for linux, but i miss a lot of functions like "sleep" and other, and I don't know wich units to include. I still don't find the lazaru

[lazarus] ide installation on ubuntu

2007-05-14 Thread Alvise Nicoletti
Hi... I downloaded the ".deb" tar file with ubuntu, opened the archive and installed with a "dpkg -i" all the .deb files inside it. However, no shortcuts were created and I don't find any lazarus ide binary... I'm using gnome. Is there something else I have to do? I see that the win32 cross li

Re: [lazarus] Lazarus software as Linux Service

2007-05-11 Thread Alvise Nicoletti
Marc Santhoff ha scritto: Am Donnerstag, den 10.05.2007, 16:51 +0200 schrieb Alvise Nicoletti: Hi... I have to create a linux service (server side) that: 1) accept tpc connection from a graphical GUI that I will do probably for windows 2) reads & writes on a mysql database on the local

[lazarus] broken snapshot

2007-05-10 Thread Alvise Nicoletti
Hi... trying the last snapshot for windows: Lazarus-0.9.23-fpc-2.1.5-20070510-win32.exe I'm having a lot of "the source is corrupted" errors. Give a look at it, I only tryed two times and it could be a personal internet problem.

[lazarus] Lazarus software as Linux Service

2007-05-10 Thread Alvise Nicoletti
Hi... I have to create a linux service (server side) that: 1) accept tpc connection from a graphical GUI that I will do probably for windows 2) reads & writes on a mysql database on the localhost 3) sends some commands to a door (open, close, close on the children's head, ecc) through a tcp con

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-04-25 Thread alvise . nicoletti
> Henry Vermaak schreef: > >> can anybody shed some light on this? (or, even better, fix it) >> > > I will ask Paul or Rozbeh to look at it. > > Vincent > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsub

[lazarus] Wince Crossbin utils windows installer don't works

2007-04-24 Thread alvise . nicoletti
Hi ;) I just downloaded and installed the new lazarus+crosswince but they don't works. The file I downloaded are: Lazarus-0.9.23-fpc-2.1.3-20070424-win32.exe Lazarus-0.9.23-fpc-2.1.3-20070422-cross-arm-wince-win32.exe After installing, I opened lazarus and pressed F9 to compile a idle project, i