Re: [Lazarus] RE : RE : RE : Migrating from Laz 0.9.30 (fixes_0_9_30) toLaz0.9.31(trunk)

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 2:47 PM, Ludo Brands wrote: >> > I'm not using zeos on lazarus. I can't tell. >> > The error message complains about a form called TForm1. >> That'll make >> > searching easier. >> >> The Lazarus try to open a new project and,  because that, the >> name is TForm1, I think. >

Re: [Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 2:37 PM, Martin wrote: > On 06/08/2011 18:33, Marcos Douglas wrote: >> >> The IDE try to open a new project, not the my last project. >> I compiled the IDE with FPC 2.4.5 (fixes_2_4). Would be this the >> problem? The Lazarus trunk only compiles with FPC trunk? >> >> > > I d

Re: [Lazarus] RE : fpweb: The unit weblazideintf exists twice in the unitpath of the IDE

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 1:45 PM, Sven Barth wrote: > On 06.08.2011 17:45, Marcos Douglas wrote: >> >> On Sat, Aug 6, 2011 at 4:12 AM, Ludo Brands  wrote: >>> >>> I reported this a while ago in issue >>> http://bugs.freepascal.org/view.php?id=19584 >> >> I did not see, sorry. >> >> On Sat, Aug 6, 20

Re: [Lazarus] r31895 - Components: fixed some AnchorDocking menuitems localization

2011-08-06 Thread Maxim Ganetsky
06.08.2011 21:10, Flávio Etrusco пишет: Hello, who is ma...@freepascal.org? regarding the mentioned commit, wouldn't changing the caption using the global vars (i.e. mnuADSaveLayoutAsDefault, mnuAD*) work? Yes, indeed. Thanks for the hint. Changed in r31906. -- Best regards, Maxim Ganetsky

[Lazarus] TQuery.Open 100x slower than same code using PostrgreSQL

2011-08-06 Thread Howard Lee Harkness
Now I'm seeing a very slow response to opening the main table, even with no dependent tables. I set the SQL in the TQuery, then do an open. It takes 4 to 6 seconds to populate the TDBGrid. When I was using PostgreSQL with the same database, it was instant. qClients.Close; qClients.SQL.Text:='

Re: [Lazarus] r31895 - Components: fixed some AnchorDocking menuitems localization

2011-08-06 Thread Flávio Etrusco
Hello, who is ma...@freepascal.org? regarding the mentioned commit, wouldn't changing the caption using the global vars (i.e. mnuADSaveLayoutAsDefault, mnuAD*) work? Best regards, Flávio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org h

[Lazarus] RE : RE : RE : Migrating from Laz 0.9.30 (fixes_0_9_30) toLaz0.9.31(trunk)

2011-08-06 Thread Ludo Brands
> > I'm not using zeos on lazarus. I can't tell. > > The error message complains about a form called TForm1. > That'll make > > searching easier. > > The Lazarus try to open a new project and, because that, the > name is TForm1, I think. > Try doing a lazarus build without packages from the

Re: [Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

2011-08-06 Thread Martin
On 06/08/2011 18:33, Marcos Douglas wrote: The IDE try to open a new project, not the my last project. I compiled the IDE with FPC 2.4.5 (fixes_2_4). Would be this the problem? The Lazarus trunk only compiles with FPC trunk? I don't thing thats the problem. I am using a 2.5.1 version that is

Re: [Lazarus] RE : RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz0.9.31(trunk)

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 2:30 PM, Ludo Brands wrote: >> Hmm... but which package? Would be better if the error >> message said what class is "wrong". I use the packages >> default of Lazarus and Zeos, just this. >> > > I'm not using zeos on lazarus. I can't tell. > The error message complains about

Re: [Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 1:21 PM, Martin wrote: > > I am not sure it is a package, or that it is the packages fault. > > Look exactly at the error. IT is a "TForm1" for which the resources are > missing. > > If a packages tries to create a resourceless form, then it would be just a > "TForm" (the pa

[Lazarus] RE : RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz0.9.31(trunk)

2011-08-06 Thread Ludo Brands
> Hmm... but which package? Would be better if the error > message said what class is "wrong". I use the packages > default of Lazarus and Zeos, just this. > I'm not using zeos on lazarus. I can't tell. The error message complains about a form called TForm1. That'll make searching easier. Lud

Re: [Lazarus] RE : RE : Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Juan Sánchez
Thans again. I'l rename function and try it. I'l inform about the result. Juan. El 06/08/2011 19:11, "Ludo Brands" escribió: > > > With "nm" I get function name so it is on library. > > > > When you do a GetProcedureHandle for DllMessage, it will actually look for > _DllMessage. That's the reason

Re: [Lazarus] RE : RE : Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Juan Sánchez
Thanks a lot. Tonight at home I'l try it again. Juan. El 06/08/2011 18:54, "Ludo Brands" escribió: > > > > Hello Ludo, thanks a lot. Yes. I included in exports the name of the > function. In Win32 it goes ok but it is in Mac OSX where it doesn't go > right. > > With "nm" I get function name so it

Re: [Lazarus] Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Juan Sánchez
Thanks a lot. Tonight at home I'l try it again. Juan. El 06/08/2011 18:44, "Sven Barth" escribió: > On 06.08.2011 15:11, Juan Sánchez wrote: >> Hello, >> I'm going to start a new program in Lazarus based on Win32, Linux and >> Mac OSX. I'm making some previous test and I've found a problem. I writ

[Lazarus] RE : RE : Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Ludo Brands
With "nm" I get function name so it is on library. When you do a GetProcedureHandle for DllMessage, it will actually look for _DllMessage. That's the reason why GetProcedureHandle returns nil. If you declare your function as _DllMessage, loading at runtime will work also. Ludo -- ___

[Lazarus] RE : RE : Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Ludo Brands
Hello Ludo, thanks a lot. Yes. I included in exports the name of the function. In Win32 it goes ok but it is in Mac OSX where it doesn't go right. With "nm" I get function name so it is on library. For static linking, you should also add {$linklib mylib} to the project. {$linklib project1} in

Re: [Lazarus] RE : fpweb: The unit weblazideintf exists twice in the unitpath of the IDE

2011-08-06 Thread Sven Barth
On 06.08.2011 17:45, Marcos Douglas wrote: On Sat, Aug 6, 2011 at 4:12 AM, Ludo Brands wrote: I reported this a while ago in issue http://bugs.freepascal.org/view.php?id=19584 I did not see, sorry. On Sat, Aug 6, 2011 at 9:44 AM, Maxim Ganetsky wrote: Fixed. Fixed in trunk but in the ne

Re: [Lazarus] Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Sven Barth
On 06.08.2011 15:11, Juan Sánchez wrote: Hello, I'm going to start a new program in Lazarus based on Win32, Linux and Mac OSX. I'm making some previous test and I've found a problem. I write a DLL project and a Executable project. Executable project calls a very simple function in DLL. I cannot c

Re: [Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

2011-08-06 Thread Martin
On 06/08/2011 16:28, Marcos Douglas wrote: On Sat, Aug 6, 2011 at 4:22 AM, Ludo Brands wrote: So, 1. I got the sources 2. compiled the first time... everything ok. 3. close the IDE, copy 0.9.30-config to 0.9.31-config and replaced all 0.9.30 texts to 0.9.31 in all files 4. open IDE without er

Re: [Lazarus] Raster Ops in Carbon missing. Alternatives?

2011-08-06 Thread Felipe Monteiro de Carvalho
On Sat, Aug 6, 2011 at 2:41 PM, Bruce Tulloch wrote: > Are there plans to implement it? Not that I know of. > If not, what other graphics programming options are available which > might be viable for this purpose. I can imagine a couple of options: 1> Implement SRCPAINT in Carbon, it doesn't l

Re: [Lazarus] RE : Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Juan Sánchez
Hello Ludo, thanks a lot. Yes. I included in exports the name of the function. In Win32 it goes ok but it is in Mac OSX where it doesn't go right. With "nm" I get function name so it is on library. Juan. El 06/08/2011 16:16, "Ludo Brands" escribió: > > > ld: symbol(s) not found for architecture

Re: [Lazarus] RE : fpweb: The unit weblazideintf exists twice in the unitpath of the IDE

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 4:12 AM, Ludo Brands wrote: > I reported this a while ago in issue > http://bugs.freepascal.org/view.php?id=19584 I did not see, sorry. On Sat, Aug 6, 2011 at 9:44 AM, Maxim Ganetsky wrote: > > Fixed. Fixed in trunk but in the new fixes_2_6 too? Thanks, Marcos Douglas

Re: [Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

2011-08-06 Thread Marcos Douglas
On Sat, Aug 6, 2011 at 4:22 AM, Ludo Brands wrote: > > >> So, >> 1. I got the sources >> 2. compiled the first time... everything ok. >> 3. close the IDE, copy 0.9.30-config to 0.9.31-config and >> replaced all 0.9.30 texts to 0.9.31 in all files 4. open IDE >> without errors. 5. build up + clean

Re: [Lazarus] Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31 (trunk)

2011-08-06 Thread Marcos Douglas
On Fri, Aug 5, 2011 at 9:36 PM, Martin wrote: > >>> But how I installs (migrate) my packages old 0.9.30 to 0.9.31? The way I >>> said before is right? Marcos Douglas -- >>> ___ Lazarus mailing list >>> Lazarus@lists.lazarus.freepascal.org >>> http://list

Re: [Lazarus] Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31 (trunk)

2011-08-06 Thread Marcos Douglas
On Fri, Aug 5, 2011 at 9:34 PM, Martin wrote: > >> Now, I'm downloading a new Lazarus' source, from trunk, to start again. >> But my question is: how I can migrates my packages, components and >> configurations from my old Lazarus to new? >> >> > > Configuration is all stored in > > Vista: > C:\Us

Re: [Lazarus] Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31 (trunk)

2011-08-06 Thread Marcos Douglas
On Fri, Aug 5, 2011 at 9:30 PM, Martin wrote: > On 06/08/2011 00:15, Marcos Douglas wrote: >> >> On Fri, Aug 5, 2011 at 8:06 PM, Martin  wrote: Try to delete *ALL* *.ppu and *.o file in the entire lazarus directory then rebuild. >> I did this and now I can not compile... >> Err

[Lazarus] RE : Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Ludo Brands
ld: symbol(s) not found for architecture i386 Error: Error while linking at compiling. I've tried with GetProcedureAddress (adapting code) and LoadLibrary loads the library but GetProcedureAddress returns nil. Function in DLL is very simple: function DllMessage(): Integer; begin Result:

[Lazarus] Lazarus 0.9..31 has issue with Other Unit Files and Other Sources

2011-08-06 Thread Frank Church
When compiling Indy for previous versions it is necessary to add to both Other Unit Files and Other Sources for compilation to succeed. In 0.9.31 Lazarus complains it can't be added to Other Sources because Other Unit Files contains. Is it now forbidden to put the same path in both places? -- F

[Lazarus] Imposible call DLL (dylib) in Mac OSX Lion

2011-08-06 Thread Juan Sánchez
Hello, I'm going to start a new program in Lazarus based on Win32, Linux and Mac OSX. I'm making some previous test and I've found a problem. I write a DLL project and a Executable project. Executable project calls a very simple function in DLL. I cannot compile Exe project because a LD error in Ma

Re: [Lazarus] RE : fpweb: The unit weblazideintf exists twice in the unitpath of the IDE

2011-08-06 Thread Maxim Ganetsky
06.08.2011 11:12, Ludo Brands пишет: When I compile Lazarus using the IDE menu, I get a Warning (see attachment). If I ignore, Lazarus compiles OK. My environment is WinXP, Lazarus 0.9.31 r31880 FPC 2.4.5 i386-win32-win32/win64 BTW, look at the final at line above: FPC 2.4.5 i386-win32-win32/wi

[Lazarus] Raster Ops in Carbon missing. Alternatives?

2011-08-06 Thread Bruce Tulloch
We're porting code that uses the SRCPAINT raster op extensively (to merge multiple dynamically generated bitmaps efficiently at about 100 frames per second) and it works exceptionally well in Gtk2 and Win32. Now we're porting to OS X (Carbon) and we've discovered raster ops are not implemented. I

Re: [Lazarus] TTabControl (d)evolution

2011-08-06 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: My solution does not require any work in the widgetsets. I see, you want a control with an embedded notebook. 1> Override the handle and create a TCustomControl handle I still don't understand the purpose of that procedure. To make it uses WSCustomCon

[Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

2011-08-06 Thread Ludo Brands
> So, > 1. I got the sources > 2. compiled the first time... everything ok. > 3. close the IDE, copy 0.9.30-config to 0.9.31-config and > replaced all 0.9.30 texts to 0.9.31 in all files 4. open IDE > without errors. 5. build up + clean all using the main menu > 6. IDE compile all files, creat

[Lazarus] RE : fpweb: The unit weblazideintf exists twice in the unitpath of the IDE

2011-08-06 Thread Ludo Brands
> > When I compile Lazarus using the IDE menu, I get a Warning > (see attachment). If I ignore, Lazarus compiles OK. > > My environment is WinXP, Lazarus 0.9.31 r31880 FPC 2.4.5 > i386-win32-win32/win64 BTW, look at the final at line above: > FPC 2.4.5 i386-win32-win32/win64... "win32-win32"