Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Andreas
I know this is off topic, but does Synapse work on Android? I am planning on using FpcUpDeluxe to write an android app that has a TCP client, but am still looking for the TCP component. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-18 Thread Stefan V. Pantazi
Good find and great sleuth work. It is possible that the original reason for switching R and B channels was to make the agg color object more compatible with LCL which seems to prefer BGR, order, but who knows... One obvious problem seems to be function AggToLCLColor(const c: TAggColor): TCol

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-18 Thread James Richters
>When you use the Windows GDI font engine, you don't have to specify the >location of the font - that is done for you in the font engine. > Also you specify the font name like windows programs do, you don't specify > the font filename. Thank you the information I finally partially figured out t

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Paul Breneman
On 06/18/2017 03:04 AM, Bo Berglund wrote: I need to implement a serial to TCP gateway in order to communicate between a Windows based control software and a system controller box. The software and the controller only talk serial to each other and the protocol is proprietary and binary. Now I hav

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Snorkl e
Synapse and fpc works great with serial port, I have a daemon I wrote 4 years ago that reads serial data from a phone PBX runs 24X7 and never an issue. On Jun 18, 2017 11:17 AM, "Bo Berglund" wrote: > On Sun, 18 Jun 2017 09:46:06 -0500, Snorkl e > wrote: > > >Couldn't you read the serial port d

Re: [fpc-pascal] Silencing redundand FPC messages

2017-06-18 Thread Lubos Pintes
Perfect, thank you! Dňa 17. 6. 2017 o 16:05 Jonas Maebe napísal(a): On 17/06/17 12:27, Lubos Pintes wrote: But how can I get rid of "Target OS XXX:"? The parameter -vi- will disable all messages of the level "info", such as the above mentioned message and things like "Compiling XXX" Jonas

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Koenraad Lelong
Op 18-06-17 om 18:16 schreef Bo Berglund: Hi, Do you know the SDPO-package ? That has a serial component (SDPOSerial). This has a OnRxData event. Just a thought. I used it in the past without problems. HTH Koenraad. ___ fpc-pascal maillist - f

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-18 Thread Graeme Geldenhuys
On 2017-06-16 18:49, James Richters wrote: agg^.Font('C:\Windows\Fonts\ConsolaB.ttf' ,45 ) works fine, but as I mentioned I can't be sure windows is installed in C:\Windows When you use the Windows GDI font engine, you don't have to specify the location of the font - that is done for you in t

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Bo Berglund
On Sun, 18 Jun 2017 09:46:06 -0500, Snorkl e wrote: >Couldn't you read the serial port data and then stream it with Synapse to >the remote location? >You can use Synapse to read the serial port data and sent via TCP/IP. > Probably, but I was hoping for some ready-made example to get going a bit

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Snorkl e
Couldn't you read the serial port data and then stream it with Synapse to the remote location? You can use Synapse to read the serial port data and sent via TCP/IP. On Jun 18, 2017 2:05 AM, "Bo Berglund" wrote: > I need to implement a serial to TCP gateway in order to communicate > between a W

[fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Bo Berglund
I need to implement a serial to TCP gateway in order to communicate between a Windows based control software and a system controller box. The software and the controller only talk serial to each other and the protocol is proprietary and binary. Now I have a situation where the controller is on a re