Re: [lazarus] Dependencies under Linux
Panagiotis Sidiropoulos wrote: After sending my first Linux Lazarus application to beta testers for evaluation and testing, I got complains even from those advanced users because of alot of application dependencies: Components on the form: - TDataSource - TDBF - TActionList - TMainMenu - TImageList - TSaveDialog - TPopupMenu - TTimer - TSpeedButton - TComboBox - TPanel - TListBox - TSplitter - TIPHtmlPanel - TStatusBar ldd against executable report following dependancies: linux-gate.so.1 => (0xe000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7f57000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e9) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7e7a000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7b86000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b4b000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ac2000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7abe000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7aba000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7a81000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a68000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7a64000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7a51000) libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7a23000) libc.so.6 => /lib/tls/libc.so.6 (0xb78ec000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb78e8000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb78e) libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb78dd000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb78ce000) libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb78c6000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb787d000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb784e000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7845000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb783c000) libm.so.6 => /lib/tls/libm.so.6 (0xb7815000) /lib/ld-linux.so.2 (0xb7feb000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb77f) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7783000) libz.so.1 => /usr/lib/libz.so.1 (0xb7771000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb774b000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb772b000) There are libraries in this list not used directly from my code. For example libXinerama.so.1 which is related to double monitor support. By removing Interfaces from uses clause, things are getting mush better, only following libs are reported as dependencies: linux-gate.so.1 => (0xe000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7f11000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f0d000) libc.so.6 => /lib/tls/libc.so.6 (0xb7dd6000) /lib/ld-linux.so.2 (0xb7feb000) But application won't work :-) ERROR: No widgetset object. Plz check if the unit "interfaces" was added to the programs uses clause. [FORMS.PP] ExceptionOccurred Sender=Exception Exception=No widgetset object. Plz check if the unit "interfaces" was added to the programs uses clause. Stack trace: $08051120 TApplication.HandleException No widgetset object. Plz check if the unit "interfaces" was added to the programs uses clause. Stack trace: $08051120 [FORMS.PP] ExceptionOccurred - Is it possible somehow to avoid including all these dependencies? - Can someone direct me on how statically include libraries to executable? I know about risks, list members helped me alot on this, but I would like to test it. Regards, Panagiotis I think you should check what are the dependiences for empty TForm application on your system .Later check by adding one by one each control and test which makes such big dependiences and report as a bug. What FPC and Lazarus version/revision ? Regards Boguslaw _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Dependencies under Linux
After sending my first Linux Lazarus application to beta testers for evaluation and testing, I got complains even from those advanced users because of alot of application dependencies: Components on the form: - TDataSource - TDBF - TActionList - TMainMenu - TImageList - TSaveDialog - TPopupMenu - TTimer - TSpeedButton - TComboBox - TPanel - TListBox - TSplitter - TIPHtmlPanel - TStatusBar ldd against executable report following dependancies: linux-gate.so.1 => (0xe000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7f57000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e9) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7e7a000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7b86000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b4b000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ac2000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7abe000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7aba000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7a81000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a68000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7a64000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7a51000) libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7a23000) libc.so.6 => /lib/tls/libc.so.6 (0xb78ec000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb78e8000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb78e) libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb78dd000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb78ce000) libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb78c6000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb787d000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb784e000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7845000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb783c000) libm.so.6 => /lib/tls/libm.so.6 (0xb7815000) /lib/ld-linux.so.2 (0xb7feb000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb77f) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7783000) libz.so.1 => /usr/lib/libz.so.1 (0xb7771000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb774b000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb772b000) There are libraries in this list not used directly from my code. For example libXinerama.so.1 which is related to double monitor support. By removing Interfaces from uses clause, things are getting mush better, only following libs are reported as dependencies: linux-gate.so.1 => (0xe000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7f11000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f0d000) libc.so.6 => /lib/tls/libc.so.6 (0xb7dd6000) /lib/ld-linux.so.2 (0xb7feb000) But application won't work :-) ERROR: No widgetset object. Plz check if the unit "interfaces" was added to the programs uses clause. [FORMS.PP] ExceptionOccurred Sender=Exception Exception=No widgetset object. Plz check if the unit "interfaces" was added to the programs uses clause. Stack trace: $08051120 TApplication.HandleException No widgetset object. Plz check if the unit "interfaces" was added to the programs uses clause. Stack trace: $08051120 [FORMS.PP] ExceptionOccurred - Is it possible somehow to avoid including all these dependencies? - Can someone direct me on how statically include libraries to executable? I know about risks, list members helped me alot on this, but I would like to test it. Regards, Panagiotis _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Because I can't get SQLDB working
On Mon, April 10, 2006 06:06, Nataraj S Narayan wrote: > Hi Michael > > I want MySql 4.0 and above only. Is SQLDB stable, so that i may replace > Delphi+BDE +myodbc? It is working and as far as I can see reasonable stable. > It is a real production app for Inventory management. Also are Rxlib > compos working in Lazarus? The lazarus version of RxLib components are working in Lazarus. Some changes may be necessary. One of the functions used in RxLib is deprecated in Delphi and not available in Lazarus. If you need these changes, I may be able to post a diff sometime later today. Matthijs -- Matthijs J. Willemstein _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Because I can't get SQLDB working
Hi Michael I want MySql 4.0 and above only. Is SQLDB stable, so that i may replace Delphi+BDE +myodbc? It is a real production app for Inventory management. Also are Rxlib compos working in Lazarus? regards Nataraj Michael Van Canneyt wrote: On Sun, 9 Apr 2006, Nataraj S Narayan wrote: Hi I was starting off with Firebird for Lazarus. But now I need to get MySql access from Lazarus to convert my legacy windows msaccess apps . Which package is best? Sqlite or zeos components? Or just go for 'direct' access w/o compos? It depends on the version of MySQL you are using. If it's higher than 4.0, Zeos doesn't work with it (at least not the alpha 6.5), not even in Delphi. SQLDB (not sqlite, that is another beast) does work with 4.0, 4.1 and 5.0. Michael. regards Nataraj Matt Henley wrote: Just a note.. the group that I am working with managed to get zeoslib working with lazarus... we are using firebird (2.0 beta) and I can confirm that it works for a test database... there are some strange things that you have to do (lazarus cant find a source file thats in the paths in the compiler options...), but at least on windows we managed to get it working.. i have a procedure if you would like it. On 3/16/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: I'm now attempting to get zeoslib working. After many attempts (lots of errors due to sqlite) I got it to compile. But now I can't get it to install as a package. The first thing is Lazarus can not support dynamic packages. Then it starts compiling/rebuilding lazarus it fails with: Identifer not found ExtractOptionsFromDPR opens DelphiProjectLaz.pas // TODO: get all compiler options from .lpr Result:=ExtractOptionsFromDPR(LPRCode,Project1); if Result<>mrOk then exit; ATM ZEOS doesn't work very well with Lazarus. This is more a ZEOS issue, then an fpc-issue. (except for fpc-bug 4510) And although the problems are easily fixable, they seems to be to hard for the ZEOS team. -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl _ 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 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives begin:vcard fn:http://www.gsis.ac.in n:S Narayan;Nataraj org:Good Shepherd International School;Software adr:Niligiris, ;;M.Palada;Ootacamund;TN;643004;INDIA email;internet:[EMAIL PROTECTED] title:Project Coordinator tel;work:0423 2550371 - 307 x-mozilla-html:TRUE url:http://www.gsis.ac.in version:2.1 end:vcard
Re: [lazarus] Refactoring Subfolders
> > Hi, the current copies of Lazarus that another developer and I are using > > do not seem to have a subfolder or subdirectory checkbox for refactoring. > > Do any lazarus versions contain that feature. Sort of like the > > search/replace tool in lazarus where you can recursively search > > subfolders. > > Do you mean, you want a fifth option in the refactoring dialog 'project > directory and sub folders'? That would be nice.. (I'm interested in how the refactoring works, is synedit tokenizer part of the magic? I gonna look into the code and see.) _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [OT] Re: [lazarus] Temperary FTP Speace
Hi, Am Sonntag, den 09.04.2006, 14:17 -0600 schrieb L505: > > > > > "There is no excuse for Oil being a raw material needed to ship food" > > > > > > No, there isn't. Which is why those who can are switching to gas (which, > > > lo and behold, farmers can produce that themselves) and hydrogen and > > > trains anyways. The only "problem" is the lag of the infrastructure, > > > that is, inertia. But that wasn't the point, I see. > > > And as for hydrogen: how do you make hydrogen? By using energy to first get > the > hydrogen? > > I'm not familiar with the process. I know you can make hydrogen from water, by > dissecting water into pieces through electrolysis. Yeah, that method sucks :) I'd use http://en.wikipedia.org/wiki/Haber_process since there it's a "leftover" resulting H component anyways... I wonder what they are doing with all the hydrogen resulting from that right now :) > But this costs you energy - > the electricity that it takes to make hydrogen may be more than what you are > in > fact getting OUT of the hydrogen that you produce. I'm not sure though. Then > again, it does cost us money to run oil rigs and etc. - and we do get more oil > out of the ground than it costs us to retrieve the oil. cheers, Danny _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] make resource string tool
Mattias Gaertner wrote: On Wed, 29 Mar 2006 14:17:41 +0300 barko <[EMAIL PROTECTED]> wrote: If I try to create resource string with this tool, I got this error message: List index (-1) out of bounds. On linux, latest fpc (2.1.1, from svn), latest lazarus (from svn). Example: ---cut--- var Form1: TForm1; resourcestring test1 = 'test'; implementation { TForm1 } procedure TForm1.Button1Click(Sender: TObject); begin caption:='bla bla'; //<-- try make resource string (from tools menu) end; Works with fpc 2.0.2. Maybe a bug in fpc 2.1.1? As it happens, I just posted a bug report about resourcestrings with fpc 2.1.1: http://www.freepascal.org/bugs/showrec.php3?ID=5001 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] tPanel setColor patch
On Thu, 06 Apr 2006 19:38:58 +0200 darekm <[EMAIL PROTECTED]> wrote: > Hi > this patch remove flickering on tPanel Thanks. Applied. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] tLabel, tComboBox patch
On Thu, 06 Apr 2006 14:44:28 +0200 darekm <[EMAIL PROTECTED]> wrote: > hi > attached patch > 1. set up single line for drawing caption without multi line > 2. much faster drawText to single line option > 3.for tComboBox change is called twice > 4. added {$IFNDEF gtk_no_set_modal} because I want disable > gtk_window_set_modal(GtkWindow, true); Applied. Thanks. HasMultiline is more platform independent. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] patch for comctrls (TToolButtonStyle)
On Sun, 2 Apr 2006 23:26:35 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Hi > > Attached is a fix for the TToolButtonStyle. I previously documented > the different enumerated types, but they didn't appear in the > generated html documentation as I expected. So this patch documents > them in another place. > > Patch should be applied from the root Lazarus directory. Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] patch for comctrl.xml
On Sun, 2 Apr 2006 22:09:48 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Here is a patch for TToolbar component. Thanks. Applied. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Qt Custom Control Patch
On Thu, 30 Mar 2006 21:36:03 -0300 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Hello, > > This patch does the following modification to Qt interface: > > * Custom control descendents work now (with the currently implemented > TCanvas functions) > > * Adds more TCanvas functions: MoveToEx, LineTo and Ellipse > > * Updates the bindings to 1.12 version > > * Supports Screen.Width and Screen.Height > > You can see a screenshot of a reasonably complex software compiled with > the current Qt interface: > > http://www.braillevirtual.fe.usp.br/temporario/osciloscopio_qt4.png > > And with Gtk1: > > http://eletronicalivre.incubadora.fapesp.br/portal/english/oscilloscope/screenshotgtk1/view > > And with Win32: > > http://eletronicalivre.incubadora.fapesp.br/portal/english/oscilloscope/screenshotwinxp/view > > Some things are missing, like TLabel, as you can see. Great. Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] make resource string tool
On Wed, 29 Mar 2006 14:17:41 +0300 barko <[EMAIL PROTECTED]> wrote: > If I try to create resource string with this tool, I got this error > message: > > List index (-1) out of bounds. > > On linux, latest fpc (2.1.1, from svn), latest lazarus (from svn). > > Example: > > ---cut--- > > var >Form1: TForm1; > > resourcestring > test1 = 'test'; > > implementation > > { TForm1 } > > procedure TForm1.Button1Click(Sender: TObject); > begin >caption:='bla bla'; //<-- try make resource string (from tools menu) > end; Works with fpc 2.0.2. Maybe a bug in fpc 2.1.1? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Patch to sort the list of units shown
On Wed, 29 Mar 2006 12:00:52 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Attached is a patch to sort the listbox shown in "View Unit", "View > Forms" and "Remove from Project". This makes it much easier to find > units in a large project. > > I replaced the TList with a TStringList so I could take advantage of > the Sort method in the TStringList. > > The patch must be applied from the root Lazarus directory. Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] bugfix1872
On Wed, 29 Mar 2006 01:01:49 +0200 "Darius Blaszijk" <[EMAIL PROTECTED]> wrote: > Here's a patch that should fix bugreport 1872. There are also some > anchoring / bordericons and alignment improvement. Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [OT] Re: [lazarus] Temperary FTP Speace
> > > "There is no excuse for Oil being a raw material needed to ship food" > > > > No, there isn't. Which is why those who can are switching to gas (which, > > lo and behold, farmers can produce that themselves) and hydrogen and > > trains anyways. The only "problem" is the lag of the infrastructure, > > that is, inertia. But that wasn't the point, I see. And as for hydrogen: how do you make hydrogen? By using energy to first get the hydrogen? I'm not familiar with the process. I know you can make hydrogen from water, by dissecting water into pieces through electrolysis. But this costs you energy - the electricity that it takes to make hydrogen may be more than what you are in fact getting OUT of the hydrogen that you produce. I'm not sure though. Then again, it does cost us money to run oil rigs and etc. - and we do get more oil out of the ground than it costs us to retrieve the oil. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [OT] Re: [lazarus] Temperary FTP Speace
> "There is no excuse for Oil being a raw material needed to ship food" > > No, there isn't. Which is why those who can are switching to gas (which, > lo and behold, farmers can produce that themselves) and hydrogen and > trains anyways. The only "problem" is the lag of the infrastructure, > that is, inertia. But that wasn't the point, I see. In brazil they already use sugar as their source of fuel. There is already infrastructure for sugar/alcohol powered cars. Brazil uses them. The oil companies don't want this. Anyone think an oil company wants to go out of business and buy all the technology from Brazil? Make brazil a rich country? Convert all out existing oil/gas cars to sugar ones? If we are considering the future - the ability to grow sugar and make it power our cars, then yes, we should convert to a fuel we can "grow on a farm". If we are naive and only in this for the short term - no. Even if we have enough oil left for 500 Centuries, sugar is still a technically superior fuel for cars in the city. I don't care if we have enough oil left for 1000 centuries. It's just not as technically superior. The infrastructure is there: it's in brazil. Don't tell me that "but we'd have to convert all our cars and factories and that would cost us". So what? Upgrading your linux 2.2 kernel is going to cost you too. But if 2.6 kernel is technically superior then it's worth it. (of course, I don't know if 2.6 is technically superior, but you get the idea). (I'm not directing this specifically at you - just something for the list/anyone else to consider.. I think you get the idea. Don't take it as me arguing.) _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Refactoring Subfolders
On Sun, 09 Apr 2006 13:35:25 -0600 L505 <[EMAIL PROTECTED]> wrote: > Hi, the current copies of Lazarus that another developer and I are using > do not seem to have a subfolder or subdirectory checkbox for refactoring. > Do any lazarus versions contain that feature. Sort of like the > search/replace tool in lazarus where you can recursively search > subfolders. Do you mean, you want a fifth option in the refactoring dialog 'project directory and sub folders'? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Refactoring Subfolders
Hi, the current copies of Lazarus that another developer and I are using do not seem to have a subfolder or subdirectory checkbox for refactoring. Do any lazarus versions contain that feature. Sort of like the search/replace tool in lazarus where you can recursively search subfolders. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] adding a form to a library
This is probably caused by something on the initialization section of LCL units. One idea to isolated the problem is to comment the code on initialization section of Forms (and perhaps other units) and see if the project will now load. Don´t acctually try to build a form, just put Forms on the uses clause. If the project now loads, uncomment a part of the initialization section and repeat the process until you isolate what is causing this. Because you need to recompile LCL and your software at each step, this can take some time. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] adding a form to a library
On Sat, 8 Apr 2006, Darius Blaszijk wrote: > I've been trying to add a form to a library (dll), but it turns out that as > soon as I add a unit from LCL to the library the lib does not load anymore. > I discussed this problem with Vincent and according to him it has to do with > TApplication that is a singleton object. And why would this prevent the library from loading ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Because I can't get SQLDB working
On Sun, 9 Apr 2006, Nataraj S Narayan wrote: > Hi > > I was starting off with Firebird for Lazarus. But now I need to get MySql > access from Lazarus to convert my legacy windows msaccess apps . Which package > is best? Sqlite or zeos components? Or just go for 'direct' access w/o > compos? It depends on the version of MySQL you are using. If it's higher than 4.0, Zeos doesn't work with it (at least not the alpha 6.5), not even in Delphi. SQLDB (not sqlite, that is another beast) does work with 4.0, 4.1 and 5.0. Michael. > > > regards > Nataraj > > Matt Henley wrote: > > > Just a note.. the group that I am working with managed to get zeoslib > > working with lazarus... we are using firebird (2.0 beta) and I can > > confirm that it works for a test database... there are some strange > > things that you have to do (lazarus cant find a source file thats in > > the paths in the compiler options...), but at least on windows we > > managed to get it working.. i have a procedure if you would like it. > > > > On 3/16/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > > > > > > > > I'm now attempting to get zeoslib working. After many attempts > > > > (lots of > > > > errors due to sqlite) I got it to compile. But now I can't get it > > > > to install > > > > as a package. The first thing is Lazarus can not support dynamic > > > > packages. > > > > Then it starts compiling/rebuilding lazarus it fails with: > > > > Identifer not found ExtractOptionsFromDPR > > > > opens DelphiProjectLaz.pas > > > > // TODO: get all compiler options from .lpr > > > > Result:=ExtractOptionsFromDPR(LPRCode,Project1); > > > > if Result<>mrOk then exit; > > > > > > > > > > > ATM ZEOS doesn't work very well with Lazarus. This is more a ZEOS > > > issue, > > > then an fpc-issue. (except for fpc-bug 4510) > > > > > > And although the problems are easily fixable, they seems to be to hard > > > for the ZEOS team. > > > > > > -- > > > Met vriendelijke groeten, > > > > > > Joost van der Sluis > > > CNOC Informatiesystemen en Netwerken > > > http://www.cnoc.nl > > > > > > _ > > > 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 > > > > > > > > > > > _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives