Re: [fpc-pascal] Incompatible procedure types

2023-11-08 Thread Sven Barth via fpc-pascal
Hairy Pixels  schrieb am Do., 9. Nov. 2023, 01:37:

>
>
> > On Nov 8, 2023, at 1:50 PM, Sven Barth via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> > Please provide example code so that one can look at it. Such messages
> without example are more often than not simply useless.
> >
>
> So this ended up being because I didn't enable the "nestedprocvars" mode
> switch and you get that error assigning to a "is nested" procedure
> variable. This has bitten me so many times. That error message is
> basically worthless to a user and should probably be changed.
>

Still, provide an example, please.

Regards,
Sven

>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Incompatible procedure types

2023-11-08 Thread Hairy Pixels via fpc-pascal


> On Nov 8, 2023, at 1:50 PM, Sven Barth via fpc-pascal 
>  wrote:
> 
> Please provide example code so that one can look at it. Such messages without 
> example are more often than not simply useless. 
> 

So this ended up being because I didn't enable the "nestedprocvars" mode switch 
and you get that error assigning to a "is nested" procedure variable. This has 
bitten me so many times. That error message is basically worthless to a 
user and should probably be changed.

Regards,
Ryan Joseph

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] fcl-web websocket

2023-11-08 Thread k1 via fpc-pascal



Hi guys,

do somone know how to enable ssl with the websocket semod

fcl-web/examples/websocket/server/wsserver
fcl-web/examples/websocket/client/wsclient

the client working fine with a node websocket server,
with just one command more

FClient.UseSSL := True;
and uses opensslsockets

but the server with the same command crash

what do i have to do on the server side to have a ssl connection

thanks in advance
peter
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal