[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;

[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;

[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

[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 advance.

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, it crashes on debugger error: RT The GDB command

Re: [Lazarus] Debugging problem

2011-06-08 Thread Roland Turcan
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? Yes I know, it isn't convenient, as their is no persistent setting... but the issue needs to be fixed in the threads code, anyway

[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

[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
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 k...@rotursoft.sk wrote: I  have  made  many  changes  on my components, but I think my changes should  not  be  responsible for this behavior

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 try to put RT TPanel on TForm in design time

[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

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

2010-05-27 Thread Roland Turcan
2010/5/27 Roland Turcan k...@rotursoft.sk: 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 makes LCL to db show scrollbars. db thanks, db dmitry

[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

[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] 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

[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

[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] 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

[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 to

[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

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 application called directly, then RT everything works fine

[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

[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-01 Thread Roland Turcan
30.09.2009 16:42 - Mattias Gärtner nc-gaert...@netcologne.de MG Zitat von Roland Turcan k...@rotursoft.sk: 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

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 my package

[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

[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

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] 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

[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