[Lazarus] MS Word via LazActiveX

2013-09-20 Thread Roland Turcan
Hello Lazarus mailing list! This test case proves, that no one event is called when it should. WD := TWordDocument.Create(nil); WD.OnNew_ := @DoWordDocumentNew; WD.OnOpen := @DoWordDocumentOpen; WD.OnClose := @DoWordDocumentClose; WD.OleServer.Application.Visible := True; WD.OleServer

[Lazarus] MS Word via LazActiveX

2013-09-02 Thread Roland Turcan
Hello Lazarus mailing list! This test case proves, that no one event is called when it should. WD := TWordDocument.Create(nil); WD.OnNew_ := @DoWordDocumentNew; WD.OnOpen := @DoWordDocumentOpen; WD.OnClose := @DoWordDocumentClose; WD.OleServer.Application.Visible := True; WD.OleServer

[Lazarus] Delphi 5 project migration to Lazarus or Delphi XE* ?

2013-08-23 Thread Roland Turcan
Hello Guys! I am about to migrate my key project from Delphi to Lazarus, but... My project belongs on: 1. Windows only - this is not a problem 2. Firebird SQL over IBX - there is http://www.mwasoftware.co.uk/ 3. FastReport - there is an oficial Lazarus version to buy 4. own components based on J

Re: [Lazarus] Debugging problem

2011-06-08 Thread Roland Turcan
h is the problem M> On 08/06/2011 13:47, Martin wrote: >> On 08/06/2011 13:45, Roland Turcan wrote: >>> Hello all, >>> >>> This error occurs in non-threaded code as well. >> >> What happens , if you power off the "history" window? >

Re: [Lazarus] Debugging problem

2011-06-08 Thread Roland Turcan
Hello all, This error occurs in non-threaded code as well. TRoland; <<< 08.06.2011 13:54 - Roland Turcan "k...@rotursoft.sk" >>> RT> Hello all, RT> I have FPC r17690 and Lazarus r31132 on Mac OS X 10.5.8 with all RT> updates and I cannot debug any thread, i

[Lazarus] Debugging problem

2011-06-08 Thread Roland Turcan
Hello all, I have FPC r17690 and Lazarus r31132 on Mac OS X 10.5.8 with all updates and I cannot debug any thread, it crashes on debugger error: The GDB command: "-thread-info" returned the error: ",msg="Undefined mi command: thread-info (missing implementation)"" What can I do? Thanks in advan

[Lazarus] MAC OS X 10.6 debugging troubles

2011-05-20 Thread Roland Turcan
Hello all, Will it help me to install XCode 4 instead of already installed 3.12? Did somebody try to exchange it? I want to get rid of troubles with debugger what makes development harder on 10.6. Thanks for all answers. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursof

[Lazarus] ExecuteProcess - do not wait for process on Linux

2011-04-19 Thread Roland Turcan
Hello Lazarus mailing list! How can I execute process/start external application similar to "myapp &" where I don't want to wait until process ends. Thanks. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk -- ___ Lazarus

Re: [Lazarus] Carbon - Ghost objects inside of components

2010-05-31 Thread Roland Turcan
Hello Dmitry, I have just tested this behavior on Lazarus Carbon PPC and it is the same as on Intel. TRoland; <<< 31.05.2010 16:29 - Roland Turcan "k...@rotursoft.sk" >>> RT> Hello Dmitry, RT> I have found out, that when you create a new project and tr

Re: [Lazarus] Carbon - Ghost objects inside of components

2010-05-31 Thread Roland Turcan
oblem as well. Thanks. TRoland; <<< 27.05.2010 13:42 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> On Thu, May 27, 2010 at 3:30 PM, Roland Turcan wrote: >> I  have  made  many  changes  on my components, but I think my changes >> should

Re: [Lazarus] Carbon - Ghost objects inside of components

2010-05-27 Thread Roland Turcan
i...@gmail.com" >>> db> 2010/5/27 Roland Turcan : >> It   looks   me   as   a rectangle which is reserved for TScrollbar. I >> hope, that Dmitry can explain it. db> This is Scrollbars. db> Somehow control's client size is reported wrongly, that mak

[Lazarus] Carbon - Ghost objects inside of components

2010-05-27 Thread Roland Turcan
Hello Lazarus mailing list! I have got some ghost objects painted into components randomly and I don't know how to find out where the objects came from. The fact is that the same code works on linux Gtk2 brilliant. The objects are shown randomly on any component. Look at attachments

[Lazarus] Painting performance

2010-05-21 Thread Roland Turcan
Hello Lazarus mailing list! I am still porting our application from Delphi/Kylix to Lazarus and the performance of the same units responsible for graphical output are nearly the same, but the performance on Lazarus Carbon/Gtk2 is much slower than on VCL/CLX. What would you recommend t

[Lazarus] /usr/usr/bin/ld: cannot find -lX11

2010-04-27 Thread Roland Turcan
Hello all, I am trying to get compiler the latest SVN on fresh Ubuntu 10.04, but it shows this problem: ... Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lX11 lazarus.pp(127,1) Error: Error while linking lazarus.pp(127

[Lazarus] How to avoid of closing my application when unhandled exception in shared library appers

2010-02-04 Thread Roland Turcan
Hello friends, We have often (usually on linux) a situation, that an exception occurs in shared library which is loaded to our application, then linux kills our application without giving error message with reason. That shared library is a device driver which is develop by device producer and they

[Lazarus] How to change default font for the application

2010-01-28 Thread Roland Turcan
Hello lazarus project! How can I manipulate the default font for the application during application startup as in the past in CLX's "TApplication.Font". I want to avoid of setting for all components on all forms in project an exact font, but to manipulate it from central point. Thanks for all su

[Lazarus] Carbon: TCalendar

2010-01-28 Thread Roland Turcan
Hello friends and Dmitry, Does anybody know about not working TCalendar on Carbon? It doesn't react on click events. BTW: How can I search in bug tracker if this bug is already reported? -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk -- _

[Lazarus] Fatal: Internal Error 20051152

2010-01-28 Thread Roland Turcan
Hello friends, It started to show this %subject% since I added some code into {$IF MyBoolCondition} example: {$MODE Delphi} Unit MyUnit; interface Uses MyConditions; {$IF MyCond} //some declaration implementation // some code {$ELSE} //some declaration implementation // some code {$IF

[Lazarus] Delphi mode syntax error

2010-01-19 Thread Roland Turcan
Hello all, I use Delphi style of programing in Lazarus to keep a compatibility with Kylix and therefore I want to get this code which is valid of Freepascal's ObjectPascal, but in {$MODE Delphi} it doesn't accept calling of "MyItems[index]" and writes "Array type required". How to adapt this code

Re: [Lazarus] Problematic usage of TClipboard in shared library

2010-01-15 Thread Roland Turcan
<<< 15.01.2010 13:54 - Roland Turcan "k...@rotursoft.sk" >>> RT> Hello Lazarus mailing list! RT> I have written a simple tunnel library to communicate an old RT> application with the clipboard on modern linux. RT> When I use my functions from test applicat

[Lazarus] Problematic usage of TClipboard in shared library

2010-01-15 Thread Roland Turcan
Hello Lazarus mailing list! I have written a simple tunnel library to communicate an old application with the clipboard on modern linux. When I use my functions from test application called directly, then everything works fine. When I use those function as external dynamic functions from shared li

[Lazarus] GetProcAddress

2010-01-14 Thread Roland Turcan
Hello Lazarus mailing list! I have written a very simple library which contains only two exports. It is intended to be a bridge between an old application and clipboard on linux to exchange data. --- library clipbrdgtk; {$MODE Delphi} uses Class

[Lazarus] Start an application as root on Mac

2009-12-15 Thread Roland Turcan
Hello friends, How can I start an application with request for root's username and password on Mac OS X? The goal is to start an application when exchanging of some application files are needed to be overwritten, ... e.g. during update. Thanks for all ideas in advance. -- Best regards, TRoland

[Lazarus] 32bit application in 64bit OS

2009-11-05 Thread Roland Turcan
Hello Lazarus mailing list! I need to solve communication between my application and PCSC-Lite running on 64bit machine, but loading 64bit *.so file doesn't work. How can I do this? Thanks for all ideas. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk -- ___

Re: [Lazarus] A broken dummy package was created

2009-10-02 Thread Roland Turcan
<<< 01.10.2009 23:36 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG> On Thu, 1 Oct 2009 11:20:17 +0200 MG> Roland Turcan wrote: >> <<< 30.09.2009 16:42 - Mattias Gärtner "nc-gaert...@netcologne.de" >>> >> MG>

Re: [Lazarus] A broken dummy package was created

2009-10-01 Thread Roland Turcan
Hello Dmitry, <<< 01.10.2009 12:05 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> Roland, is rotursoft located at lazarus/components dir? db> if so, try to: db> - uninstall the package db> - move to some place other than lazarus/components dir. db> - install the package again. I have m

Re: [Lazarus] A broken dummy package was created

2009-10-01 Thread Roland Turcan
<<< 30.09.2009 16:42 - Mattias Gärtner "nc-gaert...@netcologne.de" >>> MG> Zitat von Roland Turcan : >> Hello Lazarus mailing list! >> >> I have updated my Lazarus to rev.21928 and I receive this error >> message with this build: >>

[Lazarus] A broken dummy package was created

2009-09-30 Thread Roland Turcan
Hello Lazarus mailing list! I have updated my Lazarus to rev.21928 and I receive this error message with this build: The package "rotursoft" is installed, but no valid package (.lpk) was found. A broken dummy package was created. I have tried to clean up the content of "~/.lazarus", but I get it

Re: [Lazarus] KERN_PROTECTION_FAILURE at address: 0x00000000

2009-06-10 Thread Roland Turcan
Thanks Dmitry, But I have tried to add DebugLn lines around the line 231 to see and really the line 231 raises the exception. How can I find which components has problem? Thanks. TRoland; <<< 10.06.2009 15:43 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> open carbonprivatecommon.inc

[Lazarus] KERN_PROTECTION_FAILURE at address: 0x00000000

2009-06-10 Thread Roland Turcan
Hello lazarus project! How can I find the reason of problem which is resulted in GDB this way: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x 0x in ?? () (gdb) bt #0 0x in ?? () #1 0x0068b197 in CARBONPRIV

Re: [Lazarus] Console application in Mac OS X 10.5

2009-05-27 Thread Roland Turcan
<<< 26.5.2009 18:46 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> >> May 25 16:11:46 tests-mac-mini >> [0x0-0x1fb1fb].com.company.myapp[42167]: exception at : May >> 25 16:11:46 tests-mac-mini [0x0-0x1fb1fb].com.company.myapp[42167]: >> Invalid option at position 1: "p". >> >> It is n

Re: [Lazarus] Cannot build r20222, because of error in CarbonThemes.pas

2009-05-26 Thread Roland Turcan
Hello Dmitry, Thanks. TRoland; <<< 26.5.2009 10:33 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> please update to r20226 (reverting your changes) db> thanks, db> dmitry -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk __

[Lazarus] Speed of build process

2009-05-26 Thread Roland Turcan
Hello lazarus project! What could I set to get "Hello World" (I mean simple test) application which uses my big package built faster, because it always compiles nearly everything and it takes like "never ending story". Thanks for all hist. -- Best regards, TRoland http://www.rotursoft.sk http:/

Re: [Lazarus] Debugger - Failed to load file: .../myproject.app: No such file or directory

2009-05-25 Thread Roland Turcan
e to debug. TRoland; <<< 20.5.2009 20:20 - Roland Turcan "k...@rotursoft.sk" >>> RT> <<< 20.5.2009 18:53 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG>> On Wed, 20 May 2009 16:33:52 +0200 MG>> Roland Turcan wrote: >>>

[Lazarus] Console application in Mac OS X 10.5

2009-05-25 Thread Roland Turcan
Hello lazarus project! I have created a small application which I use to exchange files before the main application starts and afterwards it starts the main one. I have two question: 1. ExecuteProcess function waits until executed application ends, but I don't need to wait. Which function is int

Re: [Lazarus] Debugger - Failed to load file: .../myproject.app: No such file or directory

2009-05-20 Thread Roland Turcan
<<< 20.5.2009 18:53 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG> On Wed, 20 May 2009 16:33:52 +0200 MG> Roland Turcan wrote: >> Hello Lazarus mailing list! >> >> I reinstalled my Mac and decided to have lazarus in ~/lazarus instead

[Lazarus] Debugger - Failed to load file: .../myproject.app: No such file or directory

2009-05-20 Thread Roland Turcan
Hello Lazarus mailing list! I reinstalled my Mac and decided to have lazarus in ~/lazarus instead of /usr/local/share/lazarus, but I receive error message when I want to debug from IDE. What could be a problem? I don't think, that it is the length of path, but something else. Why doesn't it wan

[Lazarus] Calling DO_SYSCALL on Mac OS X

2009-05-20 Thread Roland Turcan
Hello lazarus project! I need to flush buffers from TFileStream which I should use function "fpfsync (Handle)", but as far as I found, there is no implementation of DO_SYSCALL for mac. DO_SYSCALL is implemented only for BSD. When my application crashes all files modified over TFileStream are brok

Re: [Lazarus] Component doesn't look the same in design time as in runtime

2009-05-19 Thread Roland Turcan
It is a descendant of TCustomControl. <<< 19.5.2009 14:52 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> Judging from the last screenshots, custom tab control is db> TGraphicControl? or is it TCustomControl? -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk

Re: [Lazarus] Component doesn't look the same in design time as in runtime

2009-05-19 Thread Roland Turcan
Hello Mattias, Look at these screenshots. Thanks. TRoland; <<< 19.5.2009 13:23 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG> On Tue, 19 May 2009 13:14:48 +0200 MG> Roland Turcan wrote: >> Hello Lazarus mailing list! >> >> What is

[Lazarus] Component doesn't look the same in design time as in runtime

2009-05-19 Thread Roland Turcan
Hello Lazarus mailing list! What is the difference, that components doesn't contains any difference in the code about painting in design time and runtime, but it looks different. Mac OS X 10.5.6, Carbon, Laz&FPC SVN. Thanks. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotu

Re: [Lazarus] Installation of packages doesn't work

2009-05-18 Thread Roland Turcan
Hello Dmitry, I am looking forward to know your result. I have updated both Macs (intel&ppc) I have here and both behave the same. <<< 18.5.2009 12:32 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> >> I have tried to get older revision of lazarus and the result is the >> same. >> >> Could

Re: [Lazarus] Installation of packages doesn't work

2009-05-18 Thread Roland Turcan
009 10:50 - Mattias Gärtner "nc-gaert...@netcologne.de" >>> MG> Zitat von Roland Turcan : >> Hello Lazarus mailing list! >> >> I use up-to-date Lazarus & FreePascal on Mac OS X 10.5.7 Intel&PPC >> >> I have here two problems: >>

Re: [Lazarus] Installation of packages doesn't work

2009-05-18 Thread Roland Turcan
Hello Dmitry, I am just testing this on Linux to see, if it is related only to MacOSX and then I will post into bug tracker. TRoland; <<< 18.5.2009 9:44 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> please report the bug -- Best regards, TRoland http://www.rotursoft.sk http://exe

[Lazarus] Installation of packages doesn't work

2009-05-18 Thread Roland Turcan
Hello Lazarus mailing list! I use up-to-date Lazarus & FreePascal on Mac OS X 10.5.7 Intel&PPC I have here two problems: = 1. After installing of my package lazarus ends, but it doesn't start again. 2. When I start it manually, I don't have my package linked into IDE. --