On Sun, 19 May 2019 at 14:33, James Richters
<ja...@productionautomation.net> wrote:
>
> Could I please get an example of this?  I see lots of examples of how to do 
> it in C but when I try to translate to pascal I always struggle a quite a bit.

Have a look at the fpc source in packages/fv/src/w32msg.inc and search
for SetConsoleCtrlHandler and then HandleConsoleCtrl.  There's nothing
to it, really.

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to