Re: [Lazarus] Compiling on Odroid / RaspberryPi

2016-03-15 Thread steveg
In order to to do that you need a starting fpc. How did you install the first fpc on the system? "make install" does everything, except making it the default compiler. This way "make install" can be used to install a second compiler. I wonder if there is a simple command to do a complete install

Re: [Lazarus] Compiling on Odroid / RaspberryPi

2016-03-15 Thread steveg
with this for awhile (google etc), so I dont mind if you just point me to a web page to learn for myself - just need the right page :) Thanks On 15/03/16 21:22, Mattias Gaertner wrote: On Tue, 15 Mar 2016 21:12:03 +1030 steveg <ste...@nevets.com.au> wrote: I am trying to compile Laz on an Odro

[Lazarus] Compiling on Odroid / RaspberryPi

2016-03-15 Thread steveg
I am trying to compile Laz on an Odroid Arm system (running Lubuntu 14.04 - LXDE) I have fpc 3.1.1 compiled and installed ok (I believe) Compiling the latest svn of Laz is giving the following error - (cant find unit) process.ppu and friends are in

Re: [Lazarus] Form Resizing

2016-02-29 Thread steveg
On 29/02/16 03:56, Péter Gábor wrote: I reported an issue (related to .Constraints) that seems to be similar: http://bugs.freepascal.org/view.php?id=29563 Unfortunately no one else of the commenters could reproduce it yet. 2016-02-28 01:41 keltezéssel, steveg írta: I find any and all forms

Re: [Lazarus] Form Resizing

2016-02-29 Thread steveg
On 28/02/16 20:00, Denis Kozlov wrote: No form resizing issues with Lazarus 1.7 r51739 FPC 3.0.0 using win32/gtk2 widgets on Windows 7. Can you reproduce it with a new & clean application? Denis On 28/02/2016 00:41, steveg wrote: I find any and all forms in a running Laz program

[Lazarus] Form Resizing

2016-02-27 Thread steveg
not make the form smaller at all. Just wondering if anybody else has similar issues before calling a bug ? Lazarus 1.7 r51734M FPC 3.0.0 i386-linux-gtk 2 Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] LazReport Questions

2015-05-27 Thread steveg
Thank you Jesus I will attempt workarounds a I can, and will try to narrow down the 'delete' cause On 27/05/15 23:29, Jesus Reyes A. wrote: En Mon, 25 May 2015 21:39:41 -0500, steveg ste...@nevets.com.au escribió: Thank you Michael. I have then following problems currently - 1: I am

Re: [Lazarus] LazReport Questions

2015-05-25 Thread steveg
its related to, but still watching. Does anybody else have this issue ? Many thanks On 25/05/15 18:42, Michael Van Canneyt wrote: On Mon, 25 May 2015, steveg wrote: Could somebody please let me know the correct place to post questions about LazReport ? Not sure if there is a separate

[Lazarus] LazReport Questions

2015-05-24 Thread steveg
Could somebody please let me know the correct place to post questions about LazReport ? Not sure if there is a separate group / list for this Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Trapping Exceptions in Library

2015-03-08 Thread steveg
Looking through the release notes for fpc, it seems that exceptions are not trapped (trappable) within a library (using Linux here). Would anybody know how to enable / re-enable this at all ? A simple example or pointer to such would be much appreciated :) SteveG

Re: [Lazarus] Modifying Form Event

2014-03-13 Thread steveg
On Thu, 13 Mar 2014 22:45:44 +1030 Steve Gatenby ste...@nevets.com.au wrote: Hoping somebody may be able to explain why the following doesn't stop the Form closing. Button1 sets the method pointer correctly (I believe), as when closing the form the showmessage occurs as expected (and shows

Re: [Lazarus] Modifying Form Event

2014-03-13 Thread steveg
ste...@nevets.com.au schrieb: On Thu, 13 Mar 2014 22:45:44 +1030 Steve Gatenby ste...@nevets.com.au wrote: Hoping somebody may be able to explain why the following doesn't stop the Form closing. Button1 sets the method pointer correctly (I believe), as when closing the form the

Re: [Lazarus] Library, Threads and Gui

2012-06-05 Thread SteveG
Thanks guys - I have been using this approach in my Linux libs for awhile now, and appears to work ok. Just having intermittant gtk errors within my library and trying to determine if the Lib - Gui area may be my problem (no extra threads in use) So probably need to look elsewhere at what

[Lazarus] Library, Threads and Gui

2012-06-04 Thread SteveG
? So is it safe to read / write to gui components (I have the control addresses) from within the library (no new threads created) without problems ? To summarise - can I rd/wr to form controls from within a cmem controlled library using its main thread ? Thanks - SteveG

[Lazarus] Compiler options

2012-05-07 Thread SteveG
Project Options / Paths / Unit Output directory (-FU) Would anybody know if there exists a compiler substitution for the current username (under Linux) I would like the output dir set to eg: /tmp/curruser/project/etc (multiple users on a shared system) Thanks - SteveG

Re: [Lazarus] Compiler options

2012-05-07 Thread SteveG
On 07/05/12 22:16, Mattias Gaertner wrote: On Mon, 07 May 2012 22:12:57 +0930 SteveGste...@nevets.com.au wrote: Project Options / Paths / Unit Output directory (-FU) Would anybody know if there exists a compiler substitution for the current username (under Linux) I would like the output dir

Re: [Lazarus] Testing Assigned object

2011-04-25 Thread SteveG
On 25/04/11 18:15, Hans-Peter Diettrich wrote: SteveG schrieb: Is there a simple way to tell if slTest has been assigned in the following ? (without specifically assigning it to NIL in the declaration) var slTest :TStringList; begin if Assigned(slTest) then FreeAndNil(slTest); // gives

Re: [Lazarus] SdpoSerial port open problems

2011-02-10 Thread SteveG
to not connect more than it connects (similar to synaser) Suggests it may be necessary to 'reset' the port somehow before using I have a small sample program for testing if anybody wants it SteveG -- ___ Lazarus mailing list Lazarus

[Lazarus] Process waiting

2010-12-30 Thread steveg
. So - my actual question would be :) Would anybody be able to point me towards something that would bring on 'futex_wait_queue_me' status ? Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Serial communication??

2010-09-28 Thread steveg
Graeme Geldenhuys wrote: On 28 September 2010 21:50, steveg ste...@nevets.com.au wrote: Quickest way I have found is to enumerate the device files in /dev extracting all 'ttyxx' (comports) and 'ttyU' (usb ports). This gives a list of 'probables'. Then try to connect (using SynaSer for example

[Lazarus] Syncronising within library

2010-09-26 Thread steveg
) ? I am trying this at the moment (using cmem by the way), and whilst all seems to be working ok, I am getting segfaults regularly. Just trying to determine if the problems are with doing the gui access from a library, or somewhere else in my code. Thanks - SteveG

Re: [Lazarus] Obtaining Control Address

2010-07-29 Thread SteveG
SteveG wrote: SteveG wrote: Paul Ishenin wrote: 30.07.2010 8:06, SteveG wrote: Would anybody know how to obtain the address of the following control? Arg1 := @Application.Components[0]; This results in Variable identifier expected error A class instance is already a pointer. Arg1

[Lazarus] Accessing WinControls from DLL

2010-06-15 Thread SteveG
I believe that 'writing' (without syncronization) to a TWinControl from a thread or dll function is BAD(tm), but just wondering if the same applies to 'reading' (properties / etc) ? another way - can 'non-mainthread' access to WinControls be considered 'ReadOnly' Thanks - SteveG

[Lazarus] Internet Browser embedding

2010-03-03 Thread SteveG
solution Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Transparent panel

2010-03-03 Thread SteveG
Just wondering if anything came of the 'transparent panel' discussion ? ie - does such a beast exist for gtk2 as yet (under Lazarus naturally) Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Transparent panel

2010-03-03 Thread SteveG
Mattias Gaertner wrote: On Wed, 03 Mar 2010 18:14:04 +1000 SteveG ste...@nevets.com.au wrote: Just wondering if anything came of the 'transparent panel' discussion ? ie - does such a beast exist for gtk2 as yet (under Lazarus naturally) What transparency do you need? Overlapping controls

Re: [Lazarus] Transparent panel

2010-03-03 Thread SteveG
Maxim Ganetsky wrote: 03.03.2010 19:08, SteveG пишет: My personal use (this instance anyway), would be to allow an external app below my Lazarus app (eg a browser) to be seen 'thru' the transparent panel. - The tricky part would be to then toggle the ext app to be on top / below my app (when

[Lazarus] App locks at startup

2010-02-27 Thread SteveG
'futex_wait_queue_me' in the process listing. I havent yet been able to narrow down an exact cause, as a simple app/lib test works ok. Would anybody know what would cause the above state (futex), as a clue to the change in Laz/Fpc affecting my app ? Thanks - SteveG

Re: [Lazarus] App locks at startup

2010-02-27 Thread SteveG
On 28/02/10 13:02, SteveG wrote: I have just updated Laz (svn) and Fpc(2.4.0) and have hit a problem with my program. (worked ok with Laz 0.98 / fpc 2.?.?) I use a dyn loaded lib with my app, which seems to be relevant. If I call Application.ProcessMessages from within a TTimer.OnTimer event

Re: [Lazarus] App locks at startup

2010-02-27 Thread SteveG
On 28/02/10 13:08, Andrew Brunner wrote: I would never Process Application Messages from a timer thread. I suspect a threadlock going on. Does it work OK without the application.processmessages? On Sat, Feb 27, 2010 at 9:02 PM, SteveGste...@nevets.com.au wrote: I have just updated Laz (svn)

Re: [Lazarus] App locks at startup

2010-02-27 Thread SteveG
On 28/02/10 13:18, SteveG wrote: On 28/02/10 13:08, Andrew Brunner wrote: I would never Process Application Messages from a timer thread. I suspect a threadlock going on. Does it work OK without the application.processmessages? On Sat, Feb 27, 2010 at 9:02 PM, SteveGste...@nevets.com.au wrote

Re: [Lazarus] Installing FPC on Ubuntu

2010-02-26 Thread SteveG
On Fri, Feb 26, 2010 at 04:19:46PM +1000, SteveG wrote: Would anybody happen to have a 'ready to go' deb package to install fpc ver 2.4 (or better) - something that installs the compiler / sources / etc in all the right places ? I have been chasing this around in circles for hours now - which

[Lazarus] Installing FPC on Ubuntu

2010-02-25 Thread SteveG
Would anybody happen to have a 'ready to go' deb package to install fpc ver 2.4 (or better) - something that installs the compiler / sources / etc in all the right places ? I have been chasing this around in circles for hours now - which completely lowers ones estimation of one's abilitys :)

[Lazarus] Transparent Panels

2010-01-04 Thread SteveG
Just wondering if anybody has solved the 'transparent panel' question for Lazarus at all ? Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Network connections

2010-01-03 Thread SteveG
On Thursday 31 December 2009 03:52:35 Michael Joyner ᏩᏯ wrote: SteveG wrote: On Thursday 31 December 2009 03:13:55 Terry A. Haimann wrote: If it is a script, it may not run from the Lazarus start procedure. Secondly, you may need to explicitly define the path. Your command prompt has

Re: [Lazarus] Network connections

2010-01-03 Thread SteveG
On Thursday 31 December 2009 05:55:18 Vincent Snijders wrote: SteveG schreef: Evening All (from where I'm sitting anyway) Very simply, it uses wvdial to create the connection, and this works fine from a cmd line (linux obviously) or from a small Laz/Fpc test program. I can browse

[Lazarus] Network connections

2009-12-30 Thread SteveG
? begin AsyncProcess1.CommandLine := 'wvdial'; AsyncProcess1.Execute; end; As a side issue, if anybody knows how to connect to a USB B'Band key directly from Laz/fpc (no wvdial etc) any pointers would be much appreciated. Thanks - SteveG

Re: [Lazarus] Network connections

2009-12-30 Thread SteveG
On Thursday 31 December 2009 03:13:55 Terry A. Haimann wrote: If it is a script, it may not run from the Lazarus start procedure. Secondly, you may need to explicitly define the path. Your command prompt has a number of predifined paths,which your lazarus app doesn't. SteveG ste

[Lazarus] Crossplatform Keypress

2009-11-12 Thread SteveG
Would Lazarus / Freepascal have a cross platform ability to send keypress to keyboard buffer ? - or even just for Linux :) I need to send keys to external apps, not just my own Laz app Thanks - SteveG -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Crossplatform Keypress

2009-11-12 Thread SteveG
On Friday 13 November 2009 11:11:33 Martin wrote: Never used it myself, but if I recall correctly: components\mouseandkeyinput SteveG wrote: Would Lazarus / Freepascal have a cross platform ability to send keypress to keyboard buffer ? - or even just for Linux :) Thanks Martin

Re: [Lazarus] Form to front

2009-10-31 Thread SteveG
On Friday 30 October 2009 17:28:46 Martin Schreiber wrote: On Thursday 29 October 2009 16:51:40 SteveG wrote: Would anybody know how to ensure a Laz form is brought to top, even if Laz app doesnt currently have focus ? eg - an alert msg/form to be forced to top/front every x seconds until

[Lazarus] Form to front

2009-10-29 Thread SteveG
it. An external app (console run) would do if no code is known. Using Kubuntu 9.04 - Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Form to front

2009-10-29 Thread SteveG
On Friday 30 October 2009 01:58:57 Paul Ishenin wrote: SteveG wrote: Would anybody know how to ensure a Laz form is brought to top, even if Laz app doesnt currently have focus ? eg - an alert msg/form to be forced to top/front every x seconds until acknowledged. Needs to be brought

[Lazarus] Jpeg error

2009-10-26 Thread SteveG
Was wondering if anybody could tell me why this image from Google maps fails to load in a standard TImage on a form ? Opens ok on my system (Kubuntu 9.04) with other apps Thanks - SteveG attachment: staticmap2.jpg-- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Jpeg error

2009-10-26 Thread SteveG
On Tuesday 27 October 2009 05:22:01 shoKwave wrote: SteveG schrieb: Was wondering if anybody could tell me why this image from Google maps fails to load in a standard TImage on a form ? Opens ok on my system (Kubuntu 9.04) with other apps Thanks - SteveG Seems to be the missing

[Lazarus] Function call from thread

2009-10-16 Thread SteveG
Would anybody know if it is possible to tell if a function has been called from the Main (GUI) thread, or a 'child' thread ? (determined within the function being called) Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Function call from thread

2009-10-16 Thread SteveG
On Saturday 17 October 2009 00:06:27 Vincent Snijders wrote: SteveG schreef: Would anybody know if it is possible to tell if a function has been called from the Main (GUI) thread, or a 'child' thread ? (determined within the function being called) Yes, that is possible. Compare

[Lazarus] SqLite

2009-07-13 Thread SteveG
Anybody know if it is possible to dynamically load the sqlite library ? At the moment my app aborts if the lib is not found at startup, I would like to have control of this for a later stage Thanks - SteveG -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Thread safe

2009-05-30 Thread SteveG
and as a completely non-related question, does fpc/laz have a cross platform 'shared memory' component/function at the moment ? Shared between what? Processes, libraries, computers? Mattias Sorry, that shows too much focus on a small world doesn't it :) I meant sharing memory between

Re: [Lazarus] Thread safe

2009-05-30 Thread SteveG
I pass the address of a WinCtrl (eg Label) to the function, then use the following TLabel( CompAddress^ ).Caption := 'test'; also a problem is 'Application.ProcessMessages' within the library These (and variations of) seem to fail regularly, but work fine from the Laz app

[Lazarus] Thread safe

2009-05-29 Thread SteveG
safe) ? and as a completely non-related question, does fpc/laz have a cross platform 'shared memory' component/function at the moment ? Thanks heaps - SteveG ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http