[Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Bo Berglund
I wonder if someone has built a program that can be used as a "tunnel" of data from one TCP server to a TCP client on another network? The program should sit in between in a computer connected to both networks (Ethernet and WiFi). If so I would be grateful to share the solutions. Reason: I am tryi

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-04 Thread Bo Berglund
On Mon, 01 Feb 2016 15:24:13 +0100, Michael Schnell wrote: >On 02/01/2016 03:00 PM, Bo Berglund wrote: >> And very complex to hack into as well. >If I can provide any help., please let me know. > >> So I turned to Indy10 now > >Not a good idea IMHO, Indy is exceptionally complex. But Remy Lebea

[Lazarus] Stopping a service from within a service

2016-02-04 Thread Richard Mace
Hi, What's the best way of shutting down a service that is a service, having the same effect as the user clicking stop. Basically, I want my service to monitor a condition, which if met, it will stop itself. Windows Lazarus 1.4.4 Thanks Richard -- __

[Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Bo Berglund
Note: I tried posting this via Gmane in my newsreader, but it did not show up. So I post it now directly to the mail list. Must have been lost at Gmane because another post I made later came through. - I wonder if someone

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread wkitty42
On 02/04/2016 11:41 AM, Richard Mace wrote: Hi, What's the best way of shutting down a service that is a service, having the same effect as the user clicking stop. Basically, I want my service to monitor a condition, which if met, it will stop itself. Windows Lazarus 1.4.4 i don't know of a

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread Jy V
On Thu, Feb 4, 2016 at 5:41 PM, Richard Mace wrote: > What's the best way of shutting down a service that is a service, having > the same effect as the user clicking stop. Basically, I want my service to monitor a condition, which if met, it will > stop itself. XMLRAD stop a program registered

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread Jy V
On Thu, Feb 4, 2016 at 5:41 PM, Richard Mace wrote: > >> What's the best way of shutting down a service that is a service, having >> the same effect as the user clicking stop. > > Basically, I want my service to monitor a condition, which if met, it will >> stop itself. > > Microsoft is using a lo

[Lazarus] Panel Top Negative Limitation

2016-02-04 Thread info
Hi I have a problem using a panel, that is large say 7. If I try to bring areas of this into the view area by using panel.top:=-avalue, this works fine until you hit –32769; at which point the panel vanishes. How can this be corrected; or is there a workaround? I have a forum thread; where I

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread Richard Mace
But what code would you out in the service to terminate itself? Effectively doing the same as calling close in a GUI app? Richard On 4 Feb 2016 19:11, wrote: > On 02/04/2016 11:41 AM, Richard Mace wrote: > >> Hi, >> >> What's the best way of shutting down a service that is a service, having >> t

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread Richard Mace
On 4 February 2016 at 17:39, Jy V wrote: > > > On Thu, Feb 4, 2016 at 5:41 PM, Richard Mace > wrote: > >> What's the best way of shutting down a service that is a service, having >> the same effect as the user clicking stop. > > Basically, I want my service to monitor a condition, which if met,

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Koenraad Lelong
Op 04-02-16 om 17:17 schreef Bo Berglund: I wonder if someone has built a program that can be used as a "tunnel" of data from one TCP server to a TCP client on another network? The program should sit in between in a computer connected to both networks (Ethernet and WiFi). If so I would be gratefu

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-04 Thread Graeme Geldenhuys
On 2016-02-01 14:24, Michael Schnell wrote: > Indy is exceptionally complex. It depends on the developer I guess. ;-) Regards, - Graeme - My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal

Re: [Lazarus] Panel Top Negative Limitation

2016-02-04 Thread Graeme Geldenhuys
On 2016-02-04 17:51, i...@voiceliveeditor.com wrote: > How can this be corrected; or is there a workaround? I'm not 100% sure, but I believe some windowing environments have a 65535px (or around that) upper limit. It might be that you are hitting that boundary. Regards, - Graeme - -- fpGUI To

Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-04 Thread Graeme Geldenhuys
On 2016-02-04 16:31, Bo Berglund wrote: > But Remy Lebeau keeps it compatible to Free Pascal too, he says... Indeed he does, and brilliant in answering questions. I'm using the latest Indy 10 from SVN now, and pretty much moved all my Synapse based projects over to Indy now. Regards, - Graeme -

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread Jy V
On Thu, Feb 4, 2016 at 8:57 PM, Richard Mace wrote: > On 4 February 2016 at 17:39, Jy V wrote: > XMLRAD stop a program registered as a service running following code, > > ​So, would I run this code by creating a TProcess from within my service, > to get it to "stop" my service? > Just run the c

Re: [Lazarus] Stopping a service from within a service

2016-02-04 Thread Jy V
On Thu, Feb 4, 2016 at 8:57 PM, Richard Mace wrote: > On 4 February 2016 at 17:39, Jy V wrote: > >> On Thu, Feb 4, 2016 at 5:41 PM, Richard Mace >> wrote: >> XMLRAD stop a program registered as a service running following code, >> > > ​So, would I run this code by creating a TProcess from withi

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Kenny D. Lee
Are your looking for hybrid tcp/ip proxies & bind to n3tm/c3po? More some the (snmp) proto-call maybe of help? I know their is an rfc's on the number is ??? I've ported some material look up "overbyte ics sockets" dig around! From: Koenraad Lelong Sent:

Re: [Lazarus] Panel Top Negative Limitation

2016-02-04 Thread Martin Schreiber
On Thursday 04 February 2016 23:09:39 Graeme Geldenhuys wrote: > On 2016-02-04 17:51, i...@voiceliveeditor.com wrote: > > How can this be corrected; or is there a workaround? > > I'm not 100% sure, but I believe some windowing environments have a > 65535px (or around that) upper limit. It might be