Re: [lazarus] Mac OS X : Correct way to debug in lazarus...
Hi Matt, the version returned is 6.3.50-20050815 ( Apple version gdb696) Dominique. Matt Henley wrote: gdb --version works on my linux box On Nov 11, 2007 5:17 PM, Dominique Louis [EMAIL PROTECTED] wrote: Marc Weustink wrote: What gdb version are you using ? No Idea, how can I tell? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Really bad bug in IDE.
On Mon, 12 Nov 2007, Martin Schreiber wrote: On Sunday 11 November 2007 11.43, Michael Van Canneyt wrote: Hi, Quite the showstopper: The action editor no longer works in the Lazarus IDE :/ Steps to reproduce: - Create new application - Drop action list on form - Edit action list - Click 'Add action' button. lazarus.pp - unhandled exception [TMainIDE.Destroy] A Gdk-ERROR **: BadCursor (invalid Cursor parameter) serial 175337 error_code 6 request_code 2 minor_code 0 lazarus: xcb_xlib.c:42: xcb_xlib_lock: Assertion `!c-xlib.lock' failed. Did you upgrade xlib/Xorg? There are some new sanity checks in xcb which break many applications. In MSEgui I had a problem with XFlushGC, it was necessary to remove the XFlushGC call because it triggered an assertion error. As far as I know, I have the latest X which comes with SuSE 10.3. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Really bad bug in IDE.
On Mon, 12 Nov 2007, Mattias Gaertner wrote: On Sun, 11 Nov 2007 22:25:36 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 11 Nov 2007, Felipe Monteiro de Carvalho wrote: Is that a regression? Did it work with 0.9.22? Yes. It worked a month ago. Strange, it still works here. Tested under gtk1+2, i386+amd64. Which compiler ? I used a very recent SVN compiler. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus component DBExport
On Mon, 12 Nov 2007, fedorax wrote: In yesterday SVN à new component DbExport was added, but if i can find it in the /usr/local/src/lazarus/trunk/components/dbexport directory it's not appear in the IDE list of components. Bug or not bug ? If not how can i install it ? The actual components are in fcl-db in Free Pascal. You must upgrade Free Pascal with the latest version from SVN to be able to use these components. Michael.
[lazarus] WinCE and remote database
I want to build a program for WinCE that works with a remote database. How I can do it? What I need?
Re: [lazarus] Really bad bug in IDE.
On Monday 12 November 2007 09.44, Michael Van Canneyt wrote: Did you upgrade xlib/Xorg? There are some new sanity checks in xcb which break many applications. In MSEgui I had a problem with XFlushGC, it was necessary to remove the XFlushGC call because it triggered an assertion error. As far as I know, I have the latest X which comes with SuSE 10.3. Me too. :-) Flamerobin crashes, Postgres admin tool crashes, FlightGear crashes... Martin _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
On Mon, 12 Nov 2007, 12 12 wrote: It seems Lazarus team offended by CodeGears damping policy. Some lazy programmers preffer to spent about 300 USD per license for platform-depended Turbo Delphi rather then for bounty for Lazarus team... I demoralized... Never let yourself be demoralized by lazy or stupid people :-) It means actually that Codegear is doing very bad. In a commercial company, this is usually the last step before bancruptcy or dropping the product. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Really bad bug in IDE.
On Mon, 12 Nov 2007, Martin Schreiber wrote: On Monday 12 November 2007 09.44, Michael Van Canneyt wrote: Did you upgrade xlib/Xorg? There are some new sanity checks in xcb which break many applications. In MSEgui I had a problem with XFlushGC, it was necessary to remove the XFlushGC call because it triggered an assertion error. As far as I know, I have the latest X which comes with SuSE 10.3. Me too. :-) Flamerobin crashes, Postgres admin tool crashes, FlightGear crashes... So much for the latest and greatest... Well, I assume it is Xorg who introduced the bug. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
2007/11/12, 12 12 [EMAIL PROTECTED]: It seems Lazarus team offended by CodeGears damping policy. Some lazy programmers preffer to spent about 300 USD per license for platform-depended Turbo Delphi rather then for bounty for Lazarus team... I demoralized... I do think it is a good new ;-) If Codegear is reacting, it is because Lazarus is becoming popular ;-) -- Inoussa O. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus component DBExport
On Mon, 12 Nov 2007 02:25:15 +0100 fedorax [EMAIL PROTECTED] wrote: In yesterday SVN à new component DbExport was added, but if i can find it in the /usr/local/src/lazarus/trunk/components/dbexport directory it's not appear in the IDE list of components. Bug or not bug ? If not how can i install it ? Only packages without special requirements are installed in the snapshots (bigide). lazdbexport requires the development version of FPC. Install: Upgrade to the unstable recent FPC 2.3.1, then recompile lazarus, open the lazdbexport.lpk and install it. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
12 12 ha scritto: It seems Lazarus team offended by CodeGears damping policy. Some lazy programmers preffer to spent about 300 USD per license for platform-depended Turbo Delphi rather then for bounty for Lazarus team... I demoralized... Not really bad news. I, for myself, would never have paid the full price for a useless license, but 300$ to get the souvenir of once a great thing now dying, to put in a frame, hang to the wall, and show one day to my grandchildren can be affordable. :-) Giuliano -- Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] manage multiple fpc/laz version
Hi all, Sorry if my question would sound silly. I'd like to have these: - Lazarus stable (9.22) using FPC stable (2.2.0) - Lazarus fixes (9.24?) using FPC fixes (2.2.1) - Lazarus devel (9.25? or 9.26?) using FPC devel (2.3.1) All sources are taken from SVN. Now, I had succeed getting all sources from SVN. I also had succeed compile all FPC versions (using 'make' etc for each version based on FPC 2.0.4). I also had succeed compile Lazarus stable (9.22) using FPC 2.0.4. But, I still failed to compile Lazarus fixes (9.24? from SVN) using different FPC version. It keeps yelling that it couldn't find required units though all units are already in appropriate folders. So, what I have suppose to do to achieve that? How to tell Lazarus 'make' to use different FPC version and get appropriate unit for each version? Now, I got stuck here. :( FYI, this is my first experience using SVN and up-to-date source for both FPC and Lazarus. I usually only use stable binary release as it always works out-of-the-box, at least for me. :) TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] manage multiple fpc/laz version
On 12/11/2007, Bee [EMAIL PROTECTED] wrote: Hi all, Sorry if my question would sound silly. I'd like to have these: - Lazarus stable (9.22) using FPC stable (2.2.0) - Lazarus fixes (9.24?) using FPC fixes (2.2.1) - Lazarus devel (9.25? or 9.26?) using FPC devel (2.3.1) All sources are taken from SVN. Now, I had succeed getting all sources from SVN. I also had succeed compile all FPC versions (using 'make' etc for each version based on FPC 2.0.4). I also had succeed compile Lazarus stable (9.22) using FPC 2.0.4. But, I still failed to compile Lazarus fixes (9.24? from SVN) using different FPC version. It keeps yelling that it couldn't find required units though all units are already in appropriate folders. So, what I have suppose to do to achieve that? How to tell Lazarus 'make' to use different FPC version and get appropriate unit for each version? Now, I got stuck here. :( FYI, this is my first experience using SVN and up-to-date source for both FPC and Lazarus. I usually only use stable binary release as it always works out-of-the-box, at least for me. :) to compile lazarus with a specific version of fpc, i usually go: make all FPC=/path/to/fpc/version/ppc386 make sure that your fpc.cfg is configured so that the different versions of fpc can find their respective units. henry _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] suggestion to create laz fixes version
Hi all, I found FPC's versioning scheme is neat. It has 3 versioning scheme: stable, fixes, and development. But I found Lazarus only got 2 versioning scheme: stable and development. So, I think it's good if Lazarus also follows FPC's versioning scheme. Each scheme uses appropriate FPC version. Lazarus stable using FPC stable, Lazarus fixes using FPC fixes, and Lazarus development using FPC development. So, after this, we'll have: - Lazarus 9.24.0 using FPC 2.2.0 (stable) - Lazarus 9.24.1 using FPC 2.2.1 (fixes) - Lazarus 9.25 using FPC 2.3.1 (development) One who like to have bleeding-edge features of FPC/Lazarus, can use the development version. One who want to have latest fixes could use fixes version (and still feel secure of new bugs that might come from new features) without having to wait too long for next stable version. And one who doesn't have enough guts could keep using stable version. :-D Using SVN as tool, I think it relatively easy to be achieved, as FPC had done it that way. What do you think? ;) -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Clone objects
Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this . -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] manage multiple fpc/laz version
But, I still failed to compile Lazarus fixes (9.24? from SVN) using different FPC version. It keeps yelling that it couldn't find required units though all units are already in appropriate folders. Sorry. I forgot to mention that all are in a single machine: Ubuntu Gutsy Gibbon on i386. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Never let yourself be demoralized by lazy or stupid people :-) It means actually that Codegear is doing very bad. In a commercial company, this is usually the last step before bancruptcy or dropping the product. Michael. I was just disappointed because of decision of our manager to buy Turbo Delphi when i already spent a lot of time porting our units to Lazarus and i was already at goal. I found all we need to works successfully with Lazarus and we almost become unbounded from Windoze... Thanx for your support and understanding, Michael! It is great to feel support from community. I belive the idea of freedom gonna live until live people who share it. Really, we will stand and we will win! -- 12 12 aka skywriter _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Not really bad news. I, for myself, would never have paid the full price for a useless license, but 300$ to get the souvenir of once a great thing now dying, to put in a frame, hang to the wall, and show one day to my grandchildren can be affordable. :-) Giuliano I make mistake converting roubles to buxes. About 450 USD with current currency score. -- 12 12 aka skywriter _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Mon, 12 Nov 2007, Damien Gerard wrote: Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this You can stream the panel and read the stream again for a new panel instance. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] suggestion to create laz fixes version
Bee ha scritto: Hi all, I found FPC's versioning scheme is neat. It has 3 versioning scheme: stable, fixes, and development. But I found Lazarus only got 2 versioning scheme: stable and development. So, I think it's good if Lazarus also follows FPC's versioning scheme. Each scheme uses appropriate FPC version. Lazarus stable using FPC stable, Lazarus fixes using FPC fixes, and Lazarus development using FPC development. So, after this, we'll have: - Lazarus 9.24.0 using FPC 2.2.0 (stable) - Lazarus 9.24.1 using FPC 2.2.1 (fixes) - Lazarus 9.25 using FPC 2.3.1 (development) One who like to have bleeding-edge features of FPC/Lazarus, can use the development version. One who want to have latest fixes could use fixes version (and still feel secure of new bugs that might come from new features) without having to wait too long for next stable version. And one who doesn't have enough guts could keep using stable version. :-D Using SVN as tool, I think it relatively easy to be achieved, as FPC had done it that way. What do you think? ;) Lazarus fixes branch is on its way, starting from 9.0.24. It will just contain bugfixes for 9.0.24 which popped up after the official release. Just warming up the motors. I'm in charge of it, but this week I'll be unable to do anything because I'll be abroad, at a customer site. You see, just ask and you get it! :-) Giuliano -- Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
It means actually that Codegear is doing very bad. In a commercial company, this is usually the last step before bancruptcy or dropping the product. Personally, I don't want to see Delphi got dropped nor CodeGear got bankrupt. For Lazarus own goodness, Delphi must be alive. We need competition, in a healthy manner of course. Competition is good for each product as each naturally don't want to lose from another. Competition brings good quality products. Competition makes users happy as well since they have options to choose. However, I do hope FPC/Lazarus would win the battle. CodeGear reaction obviously shows that as indication. :-D FYI, I have never use my Delphi (7) since I used Laz 9.22. Now I'm anxiously waiting for Laz 9.24! :-D However, one thing I do really miss Delphi's dynamic package on FPC/Lazarus. ;) -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Data-aware contols, updateSQL
I found a sample of what I hoped to be a way to deal with data-aware controls, called IBdemo-20050328. However, it was incomplete. I was able to get it to compile, and display stuff in the data grid, but the update, modify, and delete functions were not implemented -- which is basically what I was looking for. For anybody who hasn't even gotten that far, here is what I did to get it to build and run on my system: 1) In IBConnection1, the database name is the complete pathname of the database file, and the hostname is 127.0.0.1 2) The UserName is SYSDBA, and the password is whatever you assigned (the default out of the box is masterkey, and should be changed first thing after you install Firebird) 3) In SQLTransaction1, make sure the Database property is set to IBConnection1. 4) In SQLQuery1, make sure the Database property is set to IBConnection1. 5) In Datasource1, make sure the Dataset property is set to SQLQuery1 6) In Edit1, use the same string you used for the database name in the IBConnection1. At that point, you can set everything to Connected or Active, and see the table in the grid at design time. You want to set Active to false in SQLQuery1 before you run the demo. Otherwise, it behaves strangely. Is there ANYBODY who has a COMPLETE example of a database application with a datagrid that can display, modify, add, and delete rows in a simple table? Specifically, is there some format for the sql that will allow me to use data-aware components with minimal coding, or do I have to dynamically update an sql statement and put it into the deletesql, insertsql, or updatesql property of the SQLQuery1 component (if the latter, I'm kinda wondering what advantage there is to using a data-aware component)? -- The Celtic Fiddler www.celtic-fiddler.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] suggestion to create laz fixes version
Lazarus fixes branch is on its way, starting from 9.0.24. It will just contain bugfixes for 9.0.24 which popped up after the official release. Did you mean 9.24.0? Next Laz stable version is 9.24, isn't? Just warming up the motors. That's really a good news! :) I'm in charge of it, but this week I'll be unable to do anything because I'll be abroad, at a customer site. Arrrggghhh... that's the bad one! :-D Good luck with your customer, btw. :) You see, just ask and you get it! :-) What a nice coincidence! :-D -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
I must have missed something basic in this thread. What is/was CodeGear's reaction to Lazarus? On Nov 12, 2007 7:25 AM, Bee [EMAIL PROTECTED] wrote: It means actually that Codegear is doing very bad. In a commercial company, this is usually the last step before bancruptcy or dropping the product. Personally, I don't want to see Delphi got dropped nor CodeGear got bankrupt. For Lazarus own goodness, Delphi must be alive. We need competition, in a healthy manner of course. Competition is good for each product as each naturally don't want to lose from another. Competition brings good quality products. Competition makes users happy as well since they have options to choose. However, I do hope FPC/Lazarus would win the battle. CodeGear reaction obviously shows that as indication. :-D FYI, I have never use my Delphi (7) since I used Laz 9.22. Now I'm anxiously waiting for Laz 9.24! :-D However, one thing I do really miss Delphi's dynamic package on FPC/Lazarus. ;) -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Howard Lee Harkness 214 269 1171 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] manage multiple fpc/laz version
to compile lazarus with a specific version of fpc, i usually go: make all FPC=/path/to/fpc/version/ppc386 It's not about the compiler path. But about other units that are missing. Like: interfaces.pp, graphics.pp, contnrs.pp, etc. make sure that your fpc.cfg is configured so that the different versions of fpc can find their respective units. Which part of fpc.cfg need to be (re)configured? TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
I must have missed something basic in this thread. What is/was CodeGear's reaction to Lazarus? I saw some issues on the net. Someone from Borland said that FPC/Lazarus steal codes from Delphi. Someone other from CodeGear said that FPC/Lazarus is competitor to Delphi, someone other even said that FPC/Lazarus is the enemy of Delphi. :( But, I forgot the URLs. I don't know about other issues (if exist). Shame on CodeGear/Borland! Why don't they just cooperate with us and together make object pascal as a powerful cross platform language (yet easy to use and maintain)? :( -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Nov 12, 2007, at 2:17 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this You can stream the panel and read the stream again for a new panel instance. Thanks. I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). Michael. -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] manage multiple fpc/laz version
On 12/11/2007, Bee [EMAIL PROTECTED] wrote: to compile lazarus with a specific version of fpc, i usually go: make all FPC=/path/to/fpc/version/ppc386 It's not about the compiler path. But about other units that are missing. Like: interfaces.pp, graphics.pp, contnrs.pp, etc. make sure that your fpc.cfg is configured so that the different versions of fpc can find their respective units. Which part of fpc.cfg need to be (re)configured? i've got these lines: -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl since i install my fpc with `sudo make install INSTALL_PREFIX=/usr`. adjust the path for your specific install location. henry _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] manage multiple fpc/laz version
Which part of fpc.cfg need to be (re)configured? Well, if you have this directory layout (as I have:): /usr/local/lib/fpc/2.0.4 /usr/local/lib/fpc/2.2.0 /usr/local/lib/fpc/2.2.1 /usr/local/lib/fpc/2.3.1 check your fpc.cfg to see if it uses $fpcversion macro. e.g I have # searchpath for units and other system dependent things -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl so that a compiler version will pick the correct files. Another good thing to do is to make some symlinks in /usr/local/bin (or whichever directory you have fpc binaries in) /usr/local/bin/ppcx64 - /usr/local/lib/fpc/2.2.0/ppcx64 /usr/local/bin/ppcx64-2.0.4 - /usr/local/lib/fpc/2.0.4/ppcx64 /usr/local/bin/ppcx64-2.2.0 - /usr/local/lib/fpc/2.2.0/ppcx64 /usr/local/bin/ppcx64-2.2.1 - /usr/local/lib/fpc/2.2.1/ppcx64 /usr/local/bin/ppcx64-2.3.1 - /usr/local/lib/fpc/2.3.1/ppcx64 (note that if you are on a i386 machine you'll have to use ppc386 instead of ppcx64) This way, you can select which version of fpc to use with the -V switch: fpc -V2.3.1 myfile.pas will call ppcx64-2.3.1 when you compile lazarus, you can do a make all FPC=ppcx64-2.3.1 (if you put those symlinks in a directory specified in PATH) bye, Giulio _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] suggestion to create laz fixes version
Bee ha scritto: Lazarus fixes branch is on its way, starting from 9.0.24. It will just contain bugfixes for 9.0.24 which popped up after the official release. Did you mean 9.24.0? Next Laz stable version is 9.24, isn't? Sorry, I meant 0.9.24. A typo. Giuliano -- Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
12 12 ha scritto: Not really bad news. I, for myself, would never have paid the full price for a useless license, but 300$ to get the souvenir of once a great thing now dying, to put in a frame, hang to the wall, and show one day to my grandchildren can be affordable. :-) Giuliano I make mistake converting roubles to buxes. About 450 USD with current currency score. Well, given the current rate dollar/euro, it's still affordable. -- Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Mon, 12 Nov 2007, Damien Gerard wrote: On Nov 12, 2007, at 2:17 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this You can stream the panel and read the stream again for a new panel instance. Thanks. I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). You should take care of 2 things: 1. You must give all components a name. 2. All components that you want to stream must be registered using registerclass() Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
On Nov 12, 2007 4:01 PM, Giuliano Colla [EMAIL PROTECTED] wrote: 12 12 ha scritto: Not really bad news. I, for myself, would never have paid the full price for a useless license, but 300$ to get the souvenir of once a great thing now dying, to put in a frame, hang to the wall, and show one day to my grandchildren can be affordable. :-) Giuliano I make mistake converting roubles to buxes. About 450 USD with current currency score. Well, given the current rate dollar/euro, it's still affordable. Well, you can sell FPC and Lazarus as well to this amount of money if it will make your boss feel better ;) But if you do I think that the core developers of both projects should have all of that money ... :D -- Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde) Ido -- http://ik.homelinux.org/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Data-aware contols, updateSQL
En/na Howard Lee Harkness ha escrit: Is there ANYBODY who has a COMPLETE example of a database application with a datagrid that can display, modify, add, and delete rows in a simple table? I could successfully do that using zeosdb components and sqlite, but it should work equally well with any other database supported by zeosdb. I just had to write a simple Select * from table in the sql property. I'm not sure it'd work with joins, but I used lookup fields to show data from other tables (I have a relatively simple database schema) Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Nov 12, 2007, at 3:05 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: On Nov 12, 2007, at 2:17 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this You can stream the panel and read the stream again for a new panel instance. Thanks. I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). You should take care of 2 things: 1. You must give all components a name. They all have a name due to they are created by the IDE. 2. All components that you want to stream must be registered using registerclass() Ah ! That makes sense :) I added RegisterClass(TPanel) just in case but I have still the error. May be it is impossible with a TPanel. -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
ik ha scritto: On Nov 12, 2007 4:01 PM, Giuliano Colla [EMAIL PROTECTED] wrote: 12 12 ha scritto: Not really bad news. I, for myself, would never have paid the full price for a useless license, but 300$ to get the souvenir of once a great thing now dying, to put in a frame, hang to the wall, and show one day to my grandchildren can be affordable. :-) Giuliano I make mistake converting roubles to buxes. About 450 USD with current currency score. Well, given the current rate dollar/euro, it's still affordable. Well, you can sell FPC and Lazarus as well to this amount of money if it will make your boss feel better ;) I don't plan to put FPC and Lazarus in a frame, and hang it to the wall to show my grandchildren, so the comparison doesn't hold. :-) But if you do I think that the core developers of both projects should have all of that money ... :D If you divide what I can afford by the number of core developers of fpc and lazarus, I'm afraid that they wouldn't even notice. So I may keep it for me as well. ;-) Giuliano -- Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Mon, 12 Nov 2007, Damien Gerard wrote: On Nov 12, 2007, at 3:05 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: On Nov 12, 2007, at 2:17 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this You can stream the panel and read the stream again for a new panel instance. Thanks. I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). You should take care of 2 things: 1. You must give all components a name. They all have a name due to they are created by the IDE. 2. All components that you want to stream must be registered using registerclass() Ah ! That makes sense :) I added RegisterClass(TPanel) just in case but I have still the error. May be it is impossible with a TPanel. No, it should work. Can you create a backtrace ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] PNG under Windows
Under Windows, it's possible to load a PNG for a TSpeedButton for example using the object inspector. But when I load it manually btn.Glyph.LoadFromFile(myFile), I've got TBitmap.ReadStream: Invalid bitmap format (bmp,xpm,ico) It works fine under Linux/GTK2 But not under Windows. Is there a simple way to load it without generating BMP from my PNG files ? -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
2007/11/12, 12 12 [EMAIL PROTECTED]: It seems Lazarus team offended by CodeGears damping policy. Some lazy programmers preffer to spent about 300 USD per license for platform-depended Turbo Delphi rather then for bounty for Lazarus team... I demoralized... Where did you find that? Leonardo. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Bee schrieb: I must have missed something basic in this thread. What is/was CodeGear's reaction to Lazarus? I saw some issues on the net. Someone from Borland said that FPC/Lazarus steal codes from Delphi. Someone other from CodeGear said that FPC/Lazarus is competitor to Delphi, someone other even said that FPC/Lazarus is the enemy of Delphi. :( But, I forgot the URLs. I don't know about other issues (if exist). If one finds such links, I'am really interested in them. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WinCE and remote database
Daniel Rincón García ha scritto: I want to build a program for WinCE that works with a remote database. How I can do it? What I need? No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 21.50 Hi. I did a small program 6-7 months ago with the help of lnet and the guys of this mailing list that supported me so much. If I can help you anyway, just write me... However, our target was to interface a wince palm with a mysql database: it's impossible cause there are no dll for mysql... I managed to make the same thing using DOM to parse xml produced by php, that was installed on the mysql server with apache. So there are some windows that uses combo-boxes and small forms to insert and take the data from the database, throught a http-based connection. I still haven't had the time to create a success article about lazarus on that (small) project we did, but I hope I'll do that soon. Maybe this will be the occasion to reorder a little the code before showing it 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 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Florian Klaempfl escribió: Bee schrieb: I must have missed something basic in this thread. What is/was CodeGear's reaction to Lazarus? I saw some issues on the net. Someone from Borland said that FPC/Lazarus steal codes from Delphi. Someone other from CodeGear said that FPC/Lazarus is competitor to Delphi, someone other even said that FPC/Lazarus is the enemy of Delphi. :( But, I forgot the URLs. I don't know about other issues (if exist). If one finds such links, I'am really interested in them. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Florian Klaempfl wrote: Bee schrieb: I must have missed something basic in this thread. What is/was CodeGear's reaction to Lazarus? I saw some issues on the net. Someone from Borland said that FPC/Lazarus steal codes from Delphi. Someone other from CodeGear said that FPC/Lazarus is competitor to Delphi, someone other even said that FPC/Lazarus is the enemy of Delphi. :( But, I forgot the URLs. I don't know about other issues (if exist). If one finds such links, I'am really interested in them. I couldn't find any, except for one blog comment of bee himself. Marc (really wants to know too) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Marc Weustink wrote: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before Marc Agreed! If there really was a problem, then surely Codegear/Borland would have sued the freePascal developers by now? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Refactor/Change Name := NiceJob;
Nice feature. Was this recent? -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Am Montag, den 12.11.2007, 18:35 +0100 schrieb Marc Weustink: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before Also my first thought. -- Albert _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus component DBExport
Selon Mattias Gaertner [EMAIL PROTECTED]: On Mon, 12 Nov 2007 02:25:15 +0100 fedorax [EMAIL PROTECTED] wrote: In yesterday SVN Ã new component DbExport was added, but if i can find it in the /usr/local/src/lazarus/trunk/components/dbexport directory it's not appear in the IDE list of components. Bug or not bug ? If not how can i install it ? Only packages without special requirements are installed in the snapshots (bigide). lazdbexport requires the development version of FPC. Install: Upgrade to the unstable recent FPC 2.3.1, then recompile lazarus, open the lazdbexport.lpk and install it. Mattias I do this but lazarus can't find path for fpc files when i want to compile the package: -- /usr/local/src/lazarus/trunk/components/dbexport/fpdataexporter.pp(1,1) Fatal: Can't find unit fpdbexport used by fpdataexporter -- All the requested fpc .pp files are in directory /usr/local/src/fpc/trunk/packages/fcl-db/src/export ( Fpc 2.3.1 9216 ) But lazarus don't find it. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Marc Weustink schrieb: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before ? Anyways, I wrote some answer ... _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
On Mon, 12 Nov 2007, Marc Weustink wrote: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before Let me guess: SCO ? :) Michael.
Re: [lazarus] Bad news
On Nov 12, 2007, at 6:45 PM, Florian Klaempfl wrote: Marc Weustink schrieb: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before ? Anyways, I wrote some answer ... I love it :) -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Yes, it looks like FUD. From the website: I'm considering using FreePascal for a commercial project. Now I am wondering if that is such a good idea. If FreePascal becomes a target for Borland and the FreePascal project shuts down I would either have to only provide a Windows (after recompiling with Delphi) application or be forced to convert to another language if I still want to run my application on Linux. Not to mention the legal hassles I could incur for already distributed applications. Perhaps I should forgo Object Pascal altogether and use C++? It looks like the intention is to scare developers off using Lazarus, in a very similar tactic to that used by Steve Balmer against open source in general. On Nov 12, 2007 7:35 PM, Marc Weustink [EMAIL PROTECTED] wrote: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Florian Klaempfl schrieb: Marc Weustink schrieb: Leonardo M. Ramé wrote: http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx Where have I heard such accusations before ? Anyways, I wrote some answer ... Ok, after thinking a little bit about it I got it :) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Mon, 12 Nov 2007 16:05:16 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: On Nov 12, 2007, at 3:05 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: On Nov 12, 2007, at 2:17 PM, Michael Van Canneyt wrote: On Mon, 12 Nov 2007, Damien Gerard wrote: Is there a way to clone objects/components ? In C++ we use copy constructors, but in fpc/laz, I don't think there are such methods. In fact I would like to create using the IDE a Panel with sub controls and dupplicate it. It is such a pain to write the code by hand. But may be there is a specific way to do this You can stream the panel and read the stream again for a new panel instance. Thanks. I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). You should take care of 2 things: 1. You must give all components a name. They all have a name due to they are created by the IDE. 2. All components that you want to stream must be registered using registerclass() Ah ! That makes sense :) I added RegisterClass(TPanel) just in case but I have still the error. May be it is impossible with a TPanel. No, it should work. Can you create a backtrace ? Maybe this helps: lazarus/examples/componentstreaming/ http://wiki.lazarus.freepascal.org/Streaming_components Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Refactor/Change Name := NiceJob;
On Mon, 12 Nov 2007 12:43:25 -0500 Lee Jenkins [EMAIL PROTECTED] wrote: Nice feature. Was this recent? See svn log: 3 years ago. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
On 12/11/2007, Florian Klaempfl [EMAIL PROTECTED] wrote: Where have I heard such accusations before Anyways, I wrote some answer ... I left him some of my thoughts as well! He sounds like Microsoft vs Linux and the claimed 235 copyright infringements. Yap, yap, yap and no show! Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
Mattias Gaertner schreef: On Mon, 12 Nov 2007, Damien Gerard wrote: I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). snip Maybe this helps: lazarus/examples/componentstreaming/ http://wiki.lazarus.freepascal.org/Streaming_components Maybe it didn't work. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Nov 12, 2007, at 8:04 PM, Al Boldi wrote: Vincent Snijders wrote: Mattias Gaertner schreef: On Mon, 12 Nov 2007, Damien Gerard wrote: I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). snip Maybe this helps: lazarus/examples/componentstreaming/ http://wiki.lazarus.freepascal.org/Streaming_components Maybe it didn't work. Maybe this could be wrapped into a clone method. The ideal way would be a clone method indeed (like cloneComponent(Acom: TComponent; parent: TComponent = nil):TComponent) but it does not matter if the streaming method works. I will post a backtrace as soon as I am sure it is not my fault (may be a little project) Thanks! -- Al -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Mon, 12 Nov 2007 22:04:55 +0300 Al Boldi [EMAIL PROTECTED] wrote: Vincent Snijders wrote: Mattias Gaertner schreef: On Mon, 12 Nov 2007, Damien Gerard wrote: I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). snip Maybe this helps: lazarus/examples/componentstreaming/ http://wiki.lazarus.freepascal.org/Streaming_components Maybe it didn't work. You are right. Did you add TPanel to procedure TCompStreamDemoForm.OnFindClass? Maybe this could be wrapped into a clone method. It would be pretty slow, so implementing the Assign method is almost always better. For the rare cases where such a clone method makes sense: You must provide an TFindComponentClassEvent event and register the classes somewhere. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
On Nov 12, 2007, at 8:29 PM, Damien Gerard wrote: On Nov 12, 2007, at 8:04 PM, Al Boldi wrote: Vincent Snijders wrote: Mattias Gaertner schreef: On Mon, 12 Nov 2007, Damien Gerard wrote: I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). snip Maybe this helps: lazarus/examples/componentstreaming/ http://wiki.lazarus.freepascal.org/Streaming_components Maybe it didn't work. Maybe this could be wrapped into a clone method. The ideal way would be a clone method indeed (like cloneComponent(Acom: TComponent; parent: TComponent = nil):TComponent) but it does not matter if the streaming method works. I will post a backtrace as soon as I am sure it is not my fault (may be a little project) The only problem for me is to re-made the world each time with the method OnFindClass. But may be there is already a method to do that. -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
On Nov 12, 2007 8:42 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: I left him some of my thoughts as well! Yer. Me too. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
On Nov 12, 2007 9:53 AM, 12 12 [EMAIL PROTECTED] wrote: It seems Lazarus team offended by CodeGears damping policy. Some lazy programmers preffer to spent about 300 USD per license for platform-depended Turbo Delphi rather then for bounty for Lazarus team... We are not at war against CodeGear. We are just trying to build the best Object Pascal tools we can, a market big enougth for many tools. About the forum stuff, that's normal internet non-sense. Nothing that deserves paying attention. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WinCE and remote database
I have created a web server, I have used Apache 2.2.6 The address of my web server is http://pcdaniel.no-ip.info/ In the web server I have put a SQLite database: http://pcdaniel.no-ip.info/Datos.db I want to connect to the SQLite database with a program made under Lazarus for WinCE but I do not know how do it. I already know how to connect to the database if it is in the hard disk, but I do not know how to connect to the database if it is in the web server. Can you help me? Thank you very much. Regards, Daniel Rincón García. 2007/11/12, Alvise Nicoletti [EMAIL PROTECTED]: Daniel Rincón García ha scritto: I want to build a program for WinCE that works with a remote database. How I can do it? What I need? No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.30/1125 - Release Date: 11/11/2007 21.50 Hi. I did a small program 6-7 months ago with the help of lnet and the guys of this mailing list that supported me so much. If I can help you anyway, just write me... However, our target was to interface a wince palm with a mysql database: it's impossible cause there are no dll for mysql... I managed to make the same thing using DOM to parse xml produced by php, that was installed on the mysql server with apache. So there are some windows that uses combo-boxes and small forms to insert and take the data from the database, throught a http-based connection. I still haven't had the time to create a success article about lazarus on that (small) project we did, but I hope I'll do that soon. Maybe this will be the occasion to reorder a little the code before showing it 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 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WinCE and remote database
Daniel Rincón García escribió: I already know how to connect to the database if it is in the hard disk, but I do not know how to connect to the database if it is in the web server. Sorry, but you can't. Sqlite isn't a database server, its a local/embedded database. Leonardo. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Mac OS X : Correct way to debug in lazarus...
Dominique Louis wrote: Hi Matt, the version returned is 6.3.50-20050815 ( Apple version gdb696) funny, I've: GNU gdb 6.3.50-20050815 (Apple version gdb-573) I think yours should work too Can you send the output of the debug-debug output window ? Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Another icons for Lazarus
2007/11/4, Paul Ishenin [EMAIL PROTECTED]: wile64 пишет: 2007/10/26, Felipe Monteiro de Carvalho [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: I was taking a look at the TTrayIcon icon, and its barely visible under Windows Vista. Maybe a new TTrayIcon icon could be made =P please thanks, -- Felipe Monteiro de Carvalho See the new trayicon icon ;-) This and previous component images have been commited in r12735. Thanks. Best regards, Paul Ishenin. Hi Paul The TPrintDialog is not good icon ;-) Thanks, -- Laurent. French Forum : http://lazforum-fr.tuxfamily.org/index.php
Re: [lazarus] Data-aware contols, updateSQL
I guess I need to check them out. However, the files on sourceforge are about 6 years old. Is there a more recent version of ZeosDB? On Nov 12, 2007 8:17 AM, Luca Olivetti [EMAIL PROTECTED] wrote: En/na Howard Lee Harkness ha escrit: Is there ANYBODY who has a COMPLETE example of a database application with a datagrid that can display, modify, add, and delete rows in a simple table? I could successfully do that using zeosdb components and sqlite, but it should work equally well with any other database supported by zeosdb. I just had to write a simple Select * from table in the sql property. I'm not sure it'd work with joins, but I used lookup fields to show data from other tables (I have a relatively simple database schema) Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Howard Lee Harkness 214 269 1171 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WinCE and remote database
I have found the ZEOSDBO-6.6.1_betahttp://garr.dl.sourceforge.net/sourceforge/zeoslib/ZEOSDBO-6.6.1_beta.zippackage. With this package you can to connect to the remote database (I am not sure). But it do not compiles under WinCE :( 2007/11/12, Leonardo M. Ramé [EMAIL PROTECTED]: Daniel Rincón García escribió: I already know how to connect to the database if it is in the hard disk, but I do not know how to connect to the database if it is in the web server. Sorry, but you can't. Sqlite isn't a database server, its a local/embedded database. Leonardo. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Data-aware contols, updateSQL
Howard Lee Harkness пишет: I guess I need to check them out. However, the files on sourceforge are about 6 years old. Is there a more recent version of ZeosDB? Yes. See here: http://zeosforum.net.ms/ On Nov 12, 2007 8:17 AM, Luca Olivetti [EMAIL PROTECTED] wrote: En/na Howard Lee Harkness ha escrit: Is there ANYBODY who has a COMPLETE example of a database application with a datagrid that can display, modify, add, and delete rows in a simple table? I could successfully do that using zeosdb components and sqlite, but it should work equally well with any other database supported by zeosdb. I just had to write a simple Select * from table in the sql property. I'm not sure it'd work with joins, but I used lookup fields to show data from other tables (I have a relatively simple database schema) -- Best regards, Maxim Ganetsky mailto:[EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
If one finds such links, I'am really interested in them. URL about infringement issue had been told by Leonardo. I couldn't find any, except for one blog comment of bee himself. If you mean this: http://beeography.wordpress.com/2006/09/27/and-here-is-her-cousin/#comment-70 Then you're correct. The comment was written by my friend who attend BDD at Jakarta. Tim Jarvis explicitly said that. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bad news
Mr yap yap here... Apologies for not getting to Germany but I had some client matters and couldn't get away... Don't know where you guys are up to with the Trademarks/Foundation stuff. Any updates ? might be able to offer some stand space at cebit 2008 sydney if you guys are interested. But you need to get something sorted with the trademarks first. David _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] manage multiple fpc/laz version
check your fpc.cfg to see if it uses $fpcversion macro. How to know fpc.cfg supports $fpcversion macro? so that a compiler version will pick the correct files. For now, I have to edit manually my fpc.cfg to use wanted version each time I need it. It just a few lines anyway. :-D This way, you can select which version of fpc to use with the -V switch: I will try this. Thank you. Another question... each time I do 'svn update' and recompile lazarus, it uses default widgetset which is gtk1. How do tell 'make' to use gtk2 instead of gtk1? So, I don't need to do twice compilation, one using make, another using Lazarus' build. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] The use of Variants?
Hi, What are your feelings about the use of Variants? I'm debating this in another NG and would like some outside opinion. My personal opinion on Variants: * I don't like them. [if that's a reason] :-) * They seem like a bit of a hack. Native types seem to be a better solution to me, even though it might end up being a bit more work (coding wise). * They tend to be slow compared no native types. In Delphi 6 they were very slow. How does it compare in FPC 2.2.0? Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives