Re: [Lazarus] Keeping process window open in Windows

2013-08-02 Thread Reinier Olislagers
On 01/08/2013 23:08, Richard Mace wrote: Sorry Reinier, yes your absolutely right. I need to use the wiki more :) Thanks No problem - you have to know what you're looking for sometimes as well... :) -- ___ Lazarus mailing list

Re: [Lazarus] SSH

2013-08-02 Thread Michael Schnell
On 08/01/2013 05:20 PM, Richard Mace wrote: ... as many of my users will have never even seen a Linux command line before :) What exactly are you up to? We still don't know how the targeted setup is supposed to be. E.g. - a Windows computer in a company network that can access a Linux box

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Schnell
On 08/01/2013 08:56 PM, Richard Mace wrote: How can I get the path of where my application is running from? I have tried Application.Name Application.ExeName but Application is not found? Application is only available when using appropriate WidgetTypes. Not when doing simple command line

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Van Canneyt
On Fri, 2 Aug 2013, Michael Schnell wrote: On 08/01/2013 08:56 PM, Richard Mace wrote: How can I get the path of where my application is running from? I have tried Application.Name Application.ExeName but Application is not found? Application is only available when using appropriate

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Schnell
On 08/02/2013 10:32 AM, Michael Van Canneyt wrote: On Fri, 2 Aug 2013, Michael Schnell wrote: On 08/01/2013 08:56 PM, Richard Mace wrote: Application is only available when using appropriate WidgetTypes. Not when doing simple command line tools. It is if you use TCustomApplication from

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Van Canneyt
On Fri, 2 Aug 2013, Michael Schnell wrote: On 08/02/2013 10:32 AM, Michael Van Canneyt wrote: On Fri, 2 Aug 2013, Michael Schnell wrote: On 08/01/2013 08:56 PM, Richard Mace wrote: Application is only available when using appropriate WidgetTypes. Not when doing simple command line tools.

Re: [Lazarus] XanaNews port to Lazarus

2013-08-02 Thread Graeme Geldenhuys
On 2013-08-01 14:04, Reinier Olislagers wrote: Lazarus!?!??!?! Not fpGUI? :) fpGUI would be my first choice (and its definitely up to the task), but LCL will probably attract more contributors in the long run. The idea is to eventually hand over the project to somebody else. Regards,

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Henry Vermaak
On Fri, Aug 02, 2013 at 10:58:02AM +0200, Michael Schnell wrote: On 08/02/2013 10:32 AM, Michael Van Canneyt wrote: On Fri, 2 Aug 2013, Michael Schnell wrote: On 08/01/2013 08:56 PM, Richard Mace wrote: Application is only available when using appropriate WidgetTypes. Not when doing simple

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Schnell
On 08/02/2013 11:07 AM, Michael Van Canneyt wrote: Widget types do not even enter the picture, customapplication is included in FPC, not Lazarus. I see. Thanks. So you suggest deriving and instantiating a propriety application from the TCustomApplication class ? Will that automatically

Re: [Lazarus] XanaNews port to Lazarus

2013-08-02 Thread Reinier Olislagers
On 02/08/2013 11:36, Graeme Geldenhuys wrote: fpGUI would be my first choice (and its definitely up to the task), but LCL will probably attract more contributors in the long run. The idea is to eventually hand over the project to somebody else. Sounds like a plan. --

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Van Canneyt
On Fri, 2 Aug 2013, Michael Schnell wrote: On 08/02/2013 11:07 AM, Michael Van Canneyt wrote: Widget types do not even enter the picture, customapplication is included in FPC, not Lazarus. I see. Thanks. So you suggest deriving and instantiating a propriety application from the

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Schnell
On 08/02/2013 11:57 AM, Michael Van Canneyt wrote: So you suggest deriving and instantiating a propriety application from the TCustomApplication class ? I don't suggest anything. I just react on incorrect information. I see. Thanks for the clarification . Will that automatically provide the

Re: [Lazarus] Can not install a package

2013-08-02 Thread Mattias Gaertner
On Thu, 1 Aug 2013 06:59:12 -0700 (PDT) Haruyuki Fujimaki hryk_fujim...@yahoo.com wrote:   According to your advice, I tried a clean build. Unfortunately, I got same error. So I created new package and added same components.   And I added $(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Sven Barth
Am 02.08.2013 12:07, schrieb Michael Schnell: Will that automatically provide the correct string as MyApplication.ExeName ? Yes. Great. I thought TCustomApplication would be rather abstract. Application.ExeName is a rather abstract functionality (in the end it just works with ParamStr(0)

[Lazarus] LCL chms pipe dream part n

2013-08-02 Thread Reinier Olislagers
FPC trunk, Lazarus trunk, Windows Tried to fix fpcup not generating LCL chm docs. It uses build_lcl_docs.exe to do that. Found out that fpdoc is complaining about a missing .css file: Writing 19901 pages... Exception at 00441644: Exception: Can't find CSS file ..\fpdoc.css. 306 Warnings hidden.

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Michael Schnell
On 08/02/2013 01:15 PM, Sven Barth wrote: Application.ExeName is a rather abstract functionality (in the end it just works with ParamStr(0) anyway...). Grrr. I meant it might be property that calls an abstract function to force siblings to implement it. (TCustom... classes are often done like

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Sven Barth
Am 02.08.2013 13:32, schrieb Michael Schnell: On 08/02/2013 01:15 PM, Sven Barth wrote: Application.ExeName is a rather abstract functionality (in the end it just works with ParamStr(0) anyway...). Grrr. I meant it might be property that calls an abstract function to force siblings to

[Lazarus] TToolButton and acceleration keys

2013-08-02 Thread Vojtěch Čihák
    -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Synapse SSH

2013-08-02 Thread Antonio Fortuny
Hi Folks. Having seen Synapse as a lightweight TCP component I have made a little test. Download the latest Synapse sources from http://synapse.ararat.cz/doku.php/download, unzip and make a basic component. Then I downloaded the cryptlib (3.4.2) from

Re: [Lazarus] Synapse SSH

2013-08-02 Thread Reinier Olislagers
On 02/08/2013 15:48, Antonio Fortuny wrote: Having seen Synapse as a lightweight TCP component I have made a little test. Download the latest Synapse sources from http://synapse.ararat.cz/doku.php/download, unzip and make a basic component. Are you sure those are the latest sources? AFAIK,

Re: [Lazarus] LCL chms pipe dream part n

2013-08-02 Thread waldo kitty
On 8/2/2013 07:23, Reinier Olislagers wrote: FPC trunk, Lazarus trunk, Windows Tried to fix fpcup not generating LCL chm docs. It uses build_lcl_docs.exe to do that. Found out that fpdoc is complaining about a missing .css file: Writing 19901 pages... Exception at 00441644: Exception: Can't

Re: [Lazarus] Synapse SSH

2013-08-02 Thread Antonio Fortuny
Le 02/08/2013 16:16, Reinier Olislagers a crit: On 02/08/2013 15:48, Antonio Fortuny wrote: Having seen Synapse as a lightweight TCP component I have made a little test. Download the latest Synapse sources from

Re: [Lazarus] Synapse SSH

2013-08-02 Thread waldo kitty
On 8/2/2013 09:48, Antonio Fortuny wrote: But when launched I get the error 10091 Invalid PAM autentication request packet almost immediately The server I try to connect to using SSH can be reached by putty under the same autentication pair (login/password). are you trying to use ssh

Re: [Lazarus] LCL chms pipe dream part n

2013-08-02 Thread Marco van de Voort
On Fri, Aug 02, 2013 at 01:23:43PM +0200, Reinier Olislagers wrote: .. but same error doing this --arg --css-file=C:\development\fpctrunk\utils\fpdoc\fpdoc.css doesn't help either. Any suggestions [1]? Has anybody gotten build_lcl_docs to work? I typically use build_lcl_html.sh. IIRC I

Re: [Lazarus] Synapse SSH

2013-08-02 Thread Antonio Fortuny
I've copied the example from the wiki as a second test. I only set the pair login/password: same result as before (PAM autentication failed). Then I generated a pair of SSH2-rsa keys (1024) using puttygen and assigned the PrivateKey property to the private key file generated. Result is worse

Re: [Lazarus] LCL chms pipe dream part n

2013-08-02 Thread Reinier Olislagers
On 02/08/2013 16:30, waldo kitty wrote: On 8/2/2013 07:23, Reinier Olislagers wrote: FPC trunk, Lazarus trunk, Windows i notice the above has a trailing space after fpdoc.css... Yes, so did I. If it isn't there, fpdoc barfs with an unrecognized options error. .. but same error doing this

Re: [Lazarus] Synapse SSH

2013-08-02 Thread Reinier Olislagers
On 02/08/2013 17:02, Antonio Fortuny wrote: I've copied the example from the wiki as a second test. I only set the pair login/password: same result as before (PAM autentication failed). Then I generated a pair of SSH2-rsa keys (1024) using puttygen and assigned the PrivateKey property to the

Re: [Lazarus] LCL chms pipe dream part n

2013-08-02 Thread waldo kitty
On 8/2/2013 11:18, Reinier Olislagers wrote: On 02/08/2013 16:30, waldo kitty wrote: On 8/2/2013 07:23, Reinier Olislagers wrote: FPC trunk, Lazarus trunk, Windows i notice the above has a trailing space after fpdoc.css... Yes, so did I. If it isn't there, fpdoc barfs with an unrecognized