Re: [lazarus] LCL in Dll

2007-11-27 Thread Razvan Adrian Bogdan
On Nov 22, 2007 6:01 PM, Leonardo M. Ramé [EMAIL PROTECTED] wrote: That means Zeos uses LCL?, I still don't understand why the dll works correctly by compiling in FPC from command line and not by compiling from Lazarus. Maybe some compilation switch, probably stripping is the issue. Razvan

Re: [lazarus] LCL in Dll

2007-11-27 Thread Leonardo M. Ramé
The problem was solved by upgrading the compiler to 2.3.1., I was using 2.2.1 supplied with Lazarus snapshot. Razvan Adrian Bogdan escribió: On Nov 22, 2007 6:01 PM, Leonardo M. Ramé [EMAIL PROTECTED] wrote: That means Zeos uses LCL?, I still don't understand why the dll works correctly by

[lazarus] LCL in Dll

2007-11-22 Thread Leonardo M. Ramé
I'd try to compile Zeos Library in a Dll using Lazarus, it comiples, but can't be loaded at least using LoadLibrary in Windows, resulting in an Unknown Run-Time error 202. Reading in old forums, I found that isn't possible to create forms in dlls because of LCL problems, a bug report was

Re: [lazarus] LCL in Dll

2007-11-22 Thread Marc Weustink
Leonardo M. Ramé wrote: I'd try to compile Zeos Library in a Dll using Lazarus, it comiples, but can't be loaded at least using LoadLibrary in Windows, resulting in an Unknown Run-Time error 202. Reading in old forums, I found that isn't possible to create forms in dlls because of LCL

Re: [lazarus] LCL in Dll

2007-11-22 Thread Leonardo M. Ramé
Marc Weustink escribió: Leonardo M. Ramé wrote: Creating dlls is not the problem, but anything TAppliation related cannot be used in a dll. (delphi uses some hhoks to connect the TAppliation instance in the dll to the one in the mainapp) That means Zeos uses LCL?, I still don't understand

Re: [lazarus] LCL in DLL

2007-07-10 Thread fvpats
Hi all, The library can be compiled with lcl. But, for example with form, there is no response when we clic on it. Does anyone know which Lazarus/FPC unit(s) manage win events or messages ? Nobody is interested with lcl in dll (see bug id 0007182) ? thanks a lot PS:sorry for my bad english

Re: [lazarus] LCL in DLL

2007-07-10 Thread wile64
yes, its interests me, but apparently it is not a priority, It is necessary to still wait… Thanks, 2007/7/10, fvpats [EMAIL PROTECTED]: Hi all, The library can be compiled with lcl. But, for example with form, there is no response when we clic on it. Does anyone know which Lazarus/FPC

Re: [lazarus] LCL in DLL

2007-06-27 Thread vsnijders
Btw. can someone please make the default extension for libraries '.dll' instead of '.exe'. It doesn't make any sense, does it? AFAIK, it is .dll if you create a library project and not an application. Vincent _ To

Re: [lazarus] LCL in DLL

2007-06-27 Thread Yury Sidorov
From: Christian Budde [EMAIL PROTECTED] Hi Phil, This has never worked. There was a time when you could put a form in a DLL and it would start okay (on Windows), but it wouldn't respond to keyboard inputs, as I recall. Now I can't even get a DLL containing a form to start without crashing the

Re: [lazarus] LCL in DLL

2007-06-27 Thread Christian Budde
Hi Vincent, AFAIK, it is .dll if you create a library project and not an application. Unfortunately this doesn't work if I converted a library project from Delphi to Lazarus using the menuitem under 'tools'. In this case it is always an .exe file. Do you (or anyone else) have an idea of how to

Re: [lazarus] LCL in DLL

2007-06-27 Thread Yury Sidorov
From: Christian Budde [EMAIL PROTECTED] Hi Yury, Please test the latest FPC 2.3.1 from trunk. The problem with debugingo in DLLs was fixed yesterday. Yes, now the DLLs are finally valid. However debugging doesn't work (it simply ignores the breakpoint and crashes after the execution), but

Re: [lazarus] LCL in DLL

2007-06-27 Thread Vincent Snijders
On Wed, 27 Jun 2007 19:58:03 +0300 Yury Sidorov [EMAIL PROTECTED] wrote: From: Christian Budde [EMAIL PROTECTED] Hi Yury, Please test the latest FPC 2.3.1 from trunk. The problem with debugingo in DLLs was fixed yesterday. Yes, now the DLLs are finally valid. However debugging doesn't

Re: [lazarus] LCL in DLL

2007-06-27 Thread Christian Budde
Hi Vincent, This is the right place: Compiler Options - Other - Custom options. Thanks! _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] LCL in DLL

2007-06-27 Thread Felipe Monteiro de Carvalho
On 6/27/07, Yury Sidorov [EMAIL PROTECTED] wrote: Please test the latest FPC 2.3.1 from trunk. The problem with debugingo in DLLs was fixed yesterday. Would that be considered for 2.2.2? Maybe we could make a wish list for 2.2.2? Waiting for 2.4 may take several years, and having more

Re: [lazarus] LCL in DLL

2007-06-27 Thread Christian Budde
Felipe Monteiro de Carvalho schrieb: On 6/27/07, Yury Sidorov [EMAIL PROTECTED] wrote: Please test the latest FPC 2.3.1 from trunk. The problem with debugingo in DLLs was fixed yesterday. Would that be considered for 2.2.2? As far as I saw, the fix has already been merged to the fixes_2_2

[lazarus] LCL in DLL

2007-06-26 Thread fvpats
hi, i would like using lcl in a library (dll) but i didn't find any answer anywhere (net, bugtracker fpc, ...) does anyone know how doing this ? thanks a lot

RE: [lazarus] LCL in DLL

2007-06-26 Thread Hess, Philip J
code. Thanks. -Phil -Original Message- From: fvpats [mailto:[EMAIL PROTECTED] Sent: Tue 6/26/2007 12:30 PM To: lazarus@miraclec.com Subject: [lazarus] LCL in DLL hi, i would like using lcl in a library (dll) but i didn't find any answer anywhere (net, bugtracker fpc, ...) does anyone

Re: [lazarus] LCL in DLL

2007-06-26 Thread Christian Budde
Hi Phil, This has never worked. There was a time when you could put a form in a DLL and it would start okay (on Windows), but it wouldn't respond to keyboard inputs, as I recall. Now I can't even get a DLL containing a form to start without crashing the host app. I got it working here with