Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-28 Thread Roland Turcan
oland; <<< 28.4.2009 15:23 - Roland Turcan "k...@rotursoft.sk" >>> RT> <<< 27.4.2009 19:26 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG>> Use packed records and add gap variables. RT> U, look at this: RT> T

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-28 Thread Roland Turcan
variables from definition, but it doesn't. Could somebody explain what rules is applied to change the order of variables in memory? TRoland; <<< 27.4.2009 19:26 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG> On Mon, 27 Apr 2009 17:27:30 +0200 MG>

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-27 Thread Roland Turcan
t; I don't expect CPU specific problem, otherwise it would not work db> active projects, therefore I think it must be compiler specific db> problem. db> db> Do you have any idea? db> db> Thanks in advance. db> db> Greetings, TRoland; db> db> db> <<< 25.

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-27 Thread Roland Turcan
a? Thanks in advance. Greetings, TRoland; <<< 25.4.2009 9:43 - Roland Turcan "k...@rotursoft.sk" >>> RT> Hello Diettrich, RT> To tell the truth this code and style I got from previous developer RT> and I really don't know why he decided to get the size

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-25 Thread Roland Turcan
<<< 24.4.2009 19:56 - Hans-Peter Diettrich "drdiettri...@aol.com" >>> HPD> Roland Turcan schrieb: >> BB> How is HeaderLen declared ? >> >> Stream.Read (HeaderLen, SIZEOF (HeaderLen)); >> >> where information header's length

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-24 Thread Roland Turcan
Hello Dmitry, <<< 24.4.2009 16:17 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> >> Stream.Read (HeaderLen, SIZEOF (HeaderLen)); >> >> where information header's length is stored into binary. db> HeaderLen is integer, right? db> have you checked HeaderLen being large that sizeof(TSomeHeader

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-24 Thread Roland Turcan
<<< 24.4.2009 15:30 - Bogusław Brandys "bran...@o2.pl" >>> BB> Roland Turcan pisze: >> Hello Bart and others, >> >> Thanks for your kindness to test my test case, which works fine in my >> case too, but I have found something what maybe mor

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-24 Thread Roland Turcan
Hello Bart and others, Thanks for your kindness to test my test case, which works fine in my case too, but I have found something what maybe more explain my problem. TYPE TSomeItem = RECORD First :single; Second:Single; Third :integer; TYP

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-23 Thread Roland Turcan
compiler. TRoland; <<< 23.4.2009 12:52 - Vincent Snijders "vincent.snijd...@gmail.com" >>> VS> Roland Turcan schreef: >> Hello Dmitry, >> >> Thanks for your reply. >> >> I call SetLength from public method of class TMyobject, what >>

Re: [Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-23 Thread Roland Turcan
Hello Dmitry, Thanks for your reply. I call SetLength from public method of class TMyobject, what means that object is created and accessible. About my style: I have just written a fast example which was written inside of email client without any style. :-) TRoland; <<< 23.4.2009 12:23 - dmitr

[Lazarus] EXC_BAD_ACCESS, Could not access memory

2009-04-23 Thread Roland Turcan
Hello lazarus project, This error is shown, when I try to SetLength (FItem, 1); where FItem is defined as: TYPE TSomeItem = RECORD First :single; Second:Single; Third :integer; TYPE TSomethingArr = ARRAY OF TSomeItem; TYPE TMyObject =clas

[Lazarus] Bad repaint in TNotebook with ShowTabs:=False;

2009-04-22 Thread Roland Turcan
Hello lazarus project! When I use TNotebook in assistent dialogs where I use ShowTabs:=False and pages are changed in code from buttons, then TNotepad doesn't repaint the TPage when it changes to next one. I use Lazarus SVN on Mac OS X 10.5 Intel and PowerPC with Carbon. Thanks for any hint. --

Re: [Lazarus] Problem with threads.

2009-04-22 Thread Roland Turcan
Hello Dmitry, Thanks a lot. It works fine. TRoland; <<< 21.4.2009 16:07 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> >> I use latest FPC and Lazarus from SVN on Leopard Mac OS 10.5 Intel >> based. db> should be fixed by now. please update to r19554 and test. db> thanks, db> dmitry -

[Lazarus] Problem with threads.

2009-04-21 Thread Roland Turcan
Hello lazarus project! What happened with thread support in MacOS X? Calling of Synchronize doesn't call the assigned procedure. It could be reproduced with "MultiThreadExample". I use latest FPC and Lazarus from SVN on Leopard Mac OS 10.5 Intel based. -- Best regards, TRoland http://www.roturs

Re: [Lazarus] Building Lazarus SVN on Mac OS X 10.4 intel

2009-04-03 Thread Roland Turcan
Hello all, I cannot believe, that nobody knows how to build up Lazarus at MacOS X 10.4. TRoland; <<< 2.4.2009 15:36 - Roland Turcan "k...@rotursoft.sk" >>> RT> Hello Mattias, RT> Thanks for your reply. RT> I know this document which describes how to buil

Re: [Lazarus] Building Lazarus SVN on Mac OS X 10.4 intel

2009-04-02 Thread Roland Turcan
is: NOTE: miscellaneous options file not found - using defaults [TExternalToolList.Run] CmdLine="/usr/bin/make cleanlaz" Thanks for any hint. TRoland; <<< 2.4.2009 12:50 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG> On Tue, 31 Mar 2009

[Lazarus] Building Lazarus SVN on Mac OS X 10.4 intel

2009-03-31 Thread Roland Turcan
Hello lazarus project! How should I call compiler to get Lazarus IDE running on MacOS X 10.4. I can build lazarus fine, but after start it shows: dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus Reason: Incompati

[Lazarus] How to get more verbosed output from building

2009-03-19 Thread Roland Turcan
Hello lazarus project! This is the output from building Lazarus with my package: ./lazbuild -B --build-ide="-va" 2500 115.522/268.896 Kb Used 2600 115.582/268.928 Kb Used [85.344] There were 1 errors compiling module, stopping [85.359] Searching file ... some pas file ... found [85.359] Searchin

[Lazarus] Conversion from/to ISO-8859-1 to default charset

2009-03-19 Thread Roland Turcan
Hello, I have own proprietary database engine inside which is designed for ISO-8859-1 charset and to keep platform independence I would like to keep it in ISO-8859-1. Because of default charset in Lazarus is UTF-8 I need to convert from/to ISO-8859-1 before I write/read from/to database. Where ca

[Lazarus] Unable to realize GdkWindow

2009-03-16 Thread Roland Turcan
Hello lazarus project! this error shown in Linux 32bit up-to-date SVN with GTK2: ERROR in LCL: TGtkDeviceContext.SetWidget: Unable to realize GdkWindow Creating gdb catchable error: $086ECC48 RAISEGDBEXCEPTION, line 1497 of /usr/local/share/lazarus/lcl/lclproc.pas $08819C33 RAISEUNABLETOR

[Lazarus] Access violation during compilation and linking

2009-03-11 Thread Roland Turcan
Hello all, It often happens to me, that during compilation FPC raises an exception and often is enough just to clean up directories where are *.o and *.ppu located. Sometimes it depends also on a problem in my code, but it is very difficult to distinguish where the problem is. Can I build FPC wit

Re: [Lazarus] Unable to find the unit if the component class "TNoBackPage"

2009-03-11 Thread Roland Turcan
1.3.2009 14:11 - Hans-Peter Diettrich "drdiettri...@aol.com" >>> HPD> Roland Turcan schrieb: >> I have my own component, which successfully installed into Lazarus. >> When I use this component on any form after reopening/reloading form >> it reports an e

Re: [Lazarus] Unable to find the unit if the component class "TNoBackPage"

2009-03-11 Thread Roland Turcan
ND; Shall I add registration of TNoBackPage too? Thanks. TRoland; <<< 11.3.2009 12:27 - Mattias Gaertner "nc-gaert...@netcologne.de" >>> MG> On Wed, 11 Mar 2009 11:30:52 +0100 MG> Roland Turcan wrote: >> Hello lazarus project! >> >> I have my

[Lazarus] Unable to find the unit if the component class "TNoBackPage"

2009-03-11 Thread Roland Turcan
Hello lazarus project! I have my own component, which successfully installed into Lazarus. When I use this component on any form after reopening/reloading form it reports an error. That is a simple notebook implementation with no background to get pages transparent. That component's unit contains

Re: [Lazarus] Different language of project than IDE has

2009-02-09 Thread Roland Turcan
Hello all, Thanks for this link, but my wish is to get my application localized without any addition language files. I don't even want to change language to other one, just to have it fixed inside of executable. Do I have any chance to get it? TRoland; <<< 23.12.2008 12:15 - Bart "bartjun...@gma

[Lazarus] RealPath function

2009-01-06 Thread Roland Turcan
Hello lazarus project! I have been using on Kylix function RealPath which comes from libc, but on freepascal I didn't find the equivalent one. How can I get the symlinkpath in fpc/lazarus. Thanks. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk __

Re: [Lazarus] Cannot read symbolic link /proc/PID/exe: No such file or directory

2008-12-23 Thread Roland Turcan
only. TRoland; <<< 23.12.2008 10:47 - Henry Vermaak "henry.verm...@gmail.com" >>> HV> 2008/12/23 Roland Turcan : >> Hello All, >> >> I am going to answer to my own question in hope, that it will help >> other people. >> >> I wanted t

Re: [Lazarus] Cannot read symbolic link /proc/PID/exe: No such file or directory

2008-12-22 Thread Roland Turcan
symlink to /proc/*/exe. When original file is executed, then exe symlink points to correct exefile, but compressed one causes "cannot read symbolic link". <<< 23.12.2008 0:29 - Roland Turcan "k...@rotursoft.sk" >>> RT> Hello All, RT> I need to assure, that

[Lazarus] Different language of project than IDE has

2008-12-22 Thread Roland Turcan
Hello all, How can I set different language of resource files inside of my application than IDE has got. I use and I don't want to change EN language of IDE, but the result of my work should contain german resources in dialogs, ... Instead of Yes/No to show Ja/Nein in messageboxex, also exception

[Lazarus] Cannot read symbolic link /proc/PID/exe: No such file or directory

2008-12-22 Thread Roland Turcan
Hello All, I need to assure, that my sub-application has started or to kill it, when not necessary. I use to find out the process ID /proc/*/exe file, but strange is that my application is 'registered' into /proc in not readable way. When I try to read out the content of /proc/"PID"/exe, then I

Re: [Lazarus] Systray application is started from Session in Gnome but it is invisible

2008-12-18 Thread Roland Turcan
Hello Felipe, FMdC> So you can implement something like a timer which runs every minute or FMdC> so and tryes to show the icon. If it succeds, then the timer can stop FMdC> itself. As I wrote, I use timer anyway. To call Show for TrayIcon is not big problem. Thanks for your help. TRoland; <<<

Re: [Lazarus] Systray application is started from Session in Gnome but it is invisible

2008-12-18 Thread Roland Turcan
Hello Felipe, FMdC> What is "session" in gnome? it is started together with gnome? Sessions are in Gnome for setting of application to be started with user's session. FMdC> I think that what happens is that when it starts the tray area isn't working yet Of course, that this is the reason. But

Re: [Lazarus] Systray application is started from Session in Gnome but it is invisible

2008-12-18 Thread Roland Turcan
.carva...@gmail.com" >>> FMdC> On Thu, Dec 18, 2008 at 3:01 PM, Roland Turcan wrote: >> - The latest one Lazarus >> - fpc from end of november I think. FMdC> What does latest mean? 0.9.26? FMdC> If you are using 0.9.26 try updating to subversion. FMdC> I

Re: [Lazarus] Systray application is started from Session in Gnome but it is invisible

2008-12-18 Thread Roland Turcan
Hello all, I don't know if this is caused with new version pf Lazarus/Fpc, because that is a new application I wrote just last days. TRoland; <<< 18.12.2008 15:43 - Felipe Monteiro de Carvalho "felipemonteiro.carva...@gmail.com" >>> FMdC> Lazarus and fpc version? -- Best regards, TRoland http

Re: [Lazarus] Systray application is started from Session in Gnome but it is invisible

2008-12-18 Thread Roland Turcan
- The latest one Lazarus - fpc from end of november I think. <<< 18.12.2008 15:43 - Felipe Monteiro de Carvalho "felipemonteiro.carva...@gmail.com" >>> FMdC> Lazarus and fpc version? -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk __

[Lazarus] Systray application is started from Session in Gnome but it is invisible

2008-12-18 Thread Roland Turcan
Hello General mailing list! How can I solve the following: I wrote a small utility which is systray application and time to time shows a form to inform user. When I put this into sessions of gnome, then the application is started (I can see it among processes), but it is invisible. If I start it

[Lazarus] How to find out whether KDE or Gnome runs

2008-12-18 Thread Roland Turcan
Hello General mailing list! How can I find you if my app runs on Gnome, KDE or other. Thanks. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.fre

[Lazarus] How to update a running application

2008-12-07 Thread Roland Turcan
Hello all, I write a small systray application which I know, that time to time we will need to change/add/remove something, but this application is started from user's startup and runs until his log off. When our update process gets newer version of it I need to close that application, exchange i

[Lazarus] Dependencies among units

2008-10-20 Thread Roland Turcan
Hello [EMAIL PROTECTED] Is possible to get out from compiler the tree of dependencies between units? I need to find out, why some units which should not be linked into project/package are being compiled inside even I have many compiler conditions. Of course, there must be something what I didn't

[Lazarus] PCSC on MacOS

2008-10-20 Thread Roland Turcan
Hello [EMAIL PROTECTED] Does any PCSC-lite headers port exist for freepascal? I did try with h2pas, but it was not able to parse it. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk ___ Lazarus mailing list Lazarus@lazaru

[Lazarus] I cannot build Lazarus from SVN

2008-10-09 Thread Roland Turcan
Hello lazarus project! I installed Lazarus and freepascal from Ubuntu's repository. Then I checked out from SVN the latest fpcbuild and built new fpc 2.3.1 and updated the symlink to ppc386. I have set in Lazarus the path to fpc 2.3.1 compiler and into up-to-date svn's source is set the path. Whe

[Lazarus] Binary compatibility between Intel CPU and PowerPC CPU

2008-09-16 Thread Roland Turcan
Hello Lazarus! What is the best way to keep the binary compatibility among different CPU architectures. I need to make our own database engine compatible and other binary files, that user still can use our data from i386 or PowerPC computer. I really don't like the idea to change the order of al

Re: [Lazarus] Thread support in package in MacOS 10.5

2008-09-05 Thread Roland Turcan
am sure there is one that checks if it's a Mac... Regards, -Reenen On Fri, Sep 5, 2008 at 8:17 AM, Roland Turcan <[EMAIL PROTECTED]> wrote: > Hello lazarus project! > > I added some components into package which have some threads inside, > but after building lazarus, lazarus

[Lazarus] Thread support in package in MacOS 10.5

2008-09-04 Thread Roland Turcan
Hello lazarus project! I added some components into package which have some threads inside, but after building lazarus, lazarus shows the message: > This binary has no thread support compiled in. > Recompile the application with a thread-driver in the program uses > clause before other units usin

Re: [Lazarus] IDE doesn't start after build with lazbuild

2008-09-01 Thread Roland Turcan
tart () MG> #15 0x1a30 in start () MG> (gdb) ./lazbuild -B --build-ide="-va" --ws=carbon produces working executable, so I can continue in looking for a problem with building lazarus with our package. TRoland; <<< 29.8.2008 15:14 - Mattias Gaertner "[EMAIL PROTEC

Re: [Lazarus] IDE doesn't start after build with lazbuild

2008-08-29 Thread Roland Turcan
<<< 29.8.2008 14:04 - Mattias Gärtner "[EMAIL PROTECTED]" >>> MG> Zitat von Roland Turcan <[EMAIL PROTECTED]>: >> Hello lazarus project! >> >> When I build lazarus from actual SVN or older using by lazbuild, then >> lazarus doesn

[Lazarus] IDE doesn't start after build with lazbuild

2008-08-29 Thread Roland Turcan
Hello lazarus project! When I build lazarus from actual SVN or older using by lazbuild, then lazarus doesn't start. When I try to build it using by "make clean all", then IDE starts and I checked if there are any packages which could make a trouble, but there are only default ones. I've tried to d

Re: [Lazarus] Error during startup of IDE SVN 15949 on MAC OS X 10.5 PPC

2008-08-04 Thread Roland Turcan
97 >> is the reason for the error. MG> Ok. Probably the ChildPos. MG> I replaced some suspicious typecasts in r15954. MG> Does this fix the crash? OK, This fixed the problem. TRoland; <<< 5.8.2008 0:41 - Mattias Gaertner "[EMAIL PROTECTED]" >>> MG&

Re: [Lazarus] Error during startup of IDE SVN 15949 on MAC OS X 10.5 PPC

2008-08-04 Thread Roland Turcan
arted after recompilation. It seems to me, that your change in 15897 is the reason for the error. TRoland; <<< 4.8.2008 17:56 - Mattias Gärtner "[EMAIL PROTECTED]" >>> MG> Zitat von Roland Turcan <[EMAIL PROTECTED]>: >> Hello General mailing list! >&g

[Lazarus] Error during startup of IDE SVN 15949 on MAC OS X 10.5 PPC

2008-08-04 Thread Roland Turcan
Hello General mailing list! TCarbonWindow.SetScrollInfo TODO NOTE: help options config file not found - using defaults Reading symbols for shared libraries . done Error in LCL:TLRSObjectReader.SkipValue unknown valuetype Creating gdb catchable error: $0003EBC4 RAISEGDBEXCEPTION, line 789 of lc

Re: [Lazarus] MacOS 10.5 - Compiling a package stops without error message

2008-07-22 Thread Roland Turcan
t; 19.7.2008 11:58 - Mattias Gärtner "[EMAIL PROTECTED]" >>> MG> Zitat von Roland Turcan <[EMAIL PROTECTED]>: >> Hello [EMAIL PROTECTED] >> >> When I try to compile my package with visual components using >> makefile, then compilation and linking success

[Lazarus] MacOS 10.5 - Compiling a package stops without error message

2008-07-18 Thread Roland Turcan
Hello [EMAIL PROTECTED] When I try to compile my package with visual components using makefile, then compilation and linking successfully finishes. When I try to compile from IDE, then compilation stops on one unit (always the same) without any message with reason and IDE gets unstable. The last

Re: [Lazarus] Building Lazarus on Mac OS 10.5 Leopard

2008-07-18 Thread Roland Turcan
ng on Win32. Anyway Freepascal/Lazarus project did/still doing a lot to get very useful independent developer environment. TRoland; <<< 18.7.2008 14:23 - Felipe Monteiro de Carvalho "[EMAIL PROTECTED]" >>> FMdC> On Fri, Jul 18, 2008 at 3:22 AM, Roland Turcan <[

Re: [Lazarus] Building Lazarus on Mac OS 10.5 Leopard

2008-07-17 Thread Roland Turcan
Hello Felipe, Of course, I would like to prefer Carbon on Mac, but somewhere I've seen information, that IDE with GTK is more stable on Mac than Carbon's one. Maybe it is older information. What are your experiences with Carbon IDE? <<< 17.7.2008 22:13 - Felipe Monteiro de Carvalho "[EMAIL PROTE

Re: [Lazarus] Building Lazarus on Mac OS 10.5 Leopard

2008-07-17 Thread Roland Turcan
PROTECTED]" >>> MG> On Thu, 17 Jul 2008 17:36:02 +0200 MG> Roland Turcan <[EMAIL PROTECTED]> wrote: >> Hello General mailing list! >> >> I have upgraded from 10.3.9 to 10.5.4 and the serious problem with >> compilation vanished, but I think, I

[Lazarus] Building Lazarus on Mac OS 10.5 Leopard

2008-07-17 Thread Roland Turcan
Hello General mailing list! I have upgraded from 10.3.9 to 10.5.4 and the serious problem with compilation vanished, but I think, I have a little problem with library used during linking, but I have tried to set path to directory where are libraries located and problem is still present. I was try

Re: [Lazarus] Building Lazarus on MacOS 10.3.9 Panther

2008-07-16 Thread Roland Turcan
Hello Tom, Thanks for your answer. Could you tell me, why GTK1 widgetset has problem too? TRoland; <<< 15.7.2008 20:10 - Tom Gregorovic "[EMAIL PROTECTED]" >>> TG> On Tue, Jul 15, 2008 at 6:30 PM, Roland Turcan <[EMAIL PROTECTED]> wrote: >> Hello Gen

[Lazarus] Building Lazarus on MacOS 10.3.9 Panther

2008-07-15 Thread Roland Turcan
Hello General mailing list! I have checked out the latest FPC and Lazarus SVNs. Building and installing FPC was without any problem. But the building of Lazarus has the following problems: Tests-Computer:~/freepascal/lazarus test$ make clean all PP=ppcppc LCL_PLATFORM=gtk Linking ../lazarus /u

Re: [Lazarus] Building lazarus on MacOS 10.3

2008-07-15 Thread Roland Turcan
I did repair it with installation of Xcode 1.5 <<< 15.7.2008 12:58 - Roland Turcan "[EMAIL PROTECTED]" >>> RT> Thanks for your tip, but I still have this state: RT> I checked out Lazarus into home directory and started the building RT> process with: RT&g

Re: [Lazarus] Building lazarus on MacOS 10.3

2008-07-15 Thread Roland Turcan
]: *** [revisioninc] Error 2 make: *** [ide] Error 2 TRoland; <<< 10.7.2008 23:44 - Marc Weustink "[EMAIL PROTECTED]" >>> MW> Vincent Snijders wrote: >> Roland Turcan schreef: >>> Hello 'General mailing list'! >>> >>> I have set the path

[Lazarus] Building lazarus on MacOS 10.3

2008-07-10 Thread Roland Turcan
Hello 'General mailing list'! I have set the path variable into ~/.bash_profile to directory where I have installed the FPC compiler. If I execute "ppcppc" in any directory, then compiler is executed. When I try to build Lazarus, then I get this result. Tests-Computer:/usr/local/share/lazarus tes

[Lazarus] TScrollingWinControl with GTK2

2008-07-04 Thread Roland Turcan
Hello General mailing list! I have few components based on TScrollingWinControl, but under GTK2 an exception is called in 1. unit gtkproc.inc 2. procedure ConnectSignal(const AnObject:PGTKObject; const ASignal: PChar; 3. line HasRealizeSignal:=g_signal_lookup('realize', GTK_OBJECT_TYPE

Re: [Lazarus] Repainting nested components

2008-07-02 Thread Roland Turcan
on the type of widget, what MG> technique is used. Where I can find information of differences among widgets? TRoland; <<< 30.6.2008 12:57 - Mattias Gärtner "[EMAIL PROTECTED]" >>> MG> Zitat von Roland Turcan <[EMAIL PROTECTED]>: >> Hello laza

[Lazarus] Repainting nested components

2008-06-30 Thread Roland Turcan
Hello lazarus project! How to assure, that all nested components will be repainted after calling MyPanel.Paint, because actually all components are behind new rectangle. procedure TMyPanel.Paint; var rect :TRect; begin rect := GetClientRect; InflateRect(rect,-50,-50); Canvas.Brush.Color:= c

[Lazarus] Dynamically loaded resource file

2008-06-20 Thread Roland Turcan
Hello all, How can I generate dynamically loaded resource file *.so on linux to be able to load it? When I link my *.lrs file into executable then I can read it fine, but I tried to make *.so file which contains resources, then it is not able to read it from and it results an error "Resource "pic

[Lazarus] Google reports -- Reported Attack Site!

2008-06-19 Thread Roland Turcan
Hello General mailing list! This message is shown when I visit lazarus.freepascal.org page. Is it only false report or really is there something? > Reported Attack Site! > > This web site at lazarus.freepascal.org has been reported as an attack > site and has been blocked based on your security p

Re: [Lazarus] Error during building Lazarus from SVN on Ubuntu 7.10

2008-03-28 Thread Roland Turcan
Thanks for your answer, but the problem was between chair and keyboard. I was calling "make" from subdirectory "ide" instead of "Lazarus' root" one. TRoland; <<< 28.3.2008 15:42 - wile64 "[EMAIL PROTECTED]" >>> w> 2008/3/28

[Lazarus] Error during building Lazarus from SVN on Ubuntu 7.10

2008-03-28 Thread Roland Turcan
Hello General mailing list! I have this message ... Compiling /usr/lib/lazarus/components/mpaslex/mpaslex.pp tododlg.pas(60,38) Error: Identifier not found "TTodoItem" tododlg.pas(63,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [lazarus] Error 1

[Lazarus] TListView.SelCount bug

2008-03-27 Thread Roland Turcan
Hello General mailing list! I have on a form TListView and I found TListView doesn't report correct value in SelCount in the case, that the owner form is not shown. When I ask for SelCount before I close the Windows then it reports >0, but after ShowModal reports =0; After closing the windows Ha

Re: [Lazarus] How to turn off Windows XP Theme Support for IDE

2008-03-26 Thread Roland Turcan
Hello Graeme, Ufff, sometimes the easiest things are being far away. Of course, the way how to do it was to turn off Visual Themes on shortcut which starts Lazarus. Thanks for giving an idea. TRoland; <<< 26.3.2008 10:13 - Graeme Geldenhuys "[EMAIL PROTECTED]" >>&g

[Lazarus] How to turn off Windows XP Theme Support for IDE

2008-03-26 Thread Roland Turcan
Hello General mailing list! Because I want to see the same state in IDE as in result executable. I don't want and I don't need theme support for you application. I have found manifest.rc where I can comment the line with manifest XML, but I think, that there must be nicer way how to turn it off.

[Lazarus] Nested control is not repainted in designtime

2008-03-20 Thread Roland Turcan
Hello All, Why are nested controls not repainted in design-time? -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk<><>___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo

[Lazarus] The file "xy.xy" was not found

2008-03-20 Thread Roland Turcan
Hello All, How can I easily tell to Lazarus where are located all sources which are from FP or LCL and not to have all the time messages like: The file "heap.inc" was not found. Do you want to locate it yourself ? Thanks. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.roturso

[Lazarus] How to debug Lazarus under Windows XP

2008-02-21 Thread Roland Turcan
Hello lazarus project! I have a problem with latest snapshots, because since beginning of January after building Lazarus with our components Lazarus doesn't start. I can see the process Lazarus.exe in TaskManager a while, but nothing. What is the best way to find out, what could be a problem, th

[Lazarus] Why is FormCreate not called ?

2008-02-20 Thread Roland Turcan
Hello lazarus project! I am porting our application from Delphi 7 to Lazarus and I did the following: 1. Used the DFM to LFM converter 2. Removes {$*.DFM} 3. Opened all "Form"s to remove all unnecessary properties from LFM files. 4. Added {$I UnitName.lrs} into initialization but some forms don'