Re: [fpc-pascal] fcl-web websocket

2022-12-25 Thread Andrew Haines via fpc-pascal
On 12/25/22 6:06 PM, Michael Van Canneyt via fpc-pascal wrote: Does the sample chat client/program work for you ? See below When I have a moment, I'll look at your test program. Thank you Michael. I'm not sure, maybe. It seems like the clients are not receiving messages. Also, usin

Re: [fpc-pascal] fcl-web websocket

2022-12-25 Thread Michael Van Canneyt via fpc-pascal
On Sat, 24 Dec 2022, Andrew Haines via fpc-pascal wrote: Hi, I am trying to test the websocket client in fcl-web by making a simple echo client. I have been unable to make it work using fpc trunk on linux64. I also crosscompiled to win64 and ran it on wine with identical results. The projec

Re: [fpc-pascal] Unrelated type helpers with the same members? Implement an interface with a type helper?

2022-12-25 Thread Ondrej Pokorny via fpc-pascal
Am 23.12.2022 um 15:50 schrieb Andrew Haines via fpc-pascal: Error: Ordinal expression expected [TEnumAttr(['YES', 'NO', 'COULD_BE'])] There is another (and cleaner) approach that uses an abstract attribute class. See attachment. The advantage is that the compiler warns you with an error wh