Board index » delphi » SetConsoleCtrlHandler Question
Bobby Two Dog
![]() Delphi Developer |
Thu, 04 Nov 2004 01:12:56 GMT
SetConsoleCtrlHandler Question
Experts,
I am trying to capture the CTRL-C from a Delphi console application. I have If anyone can help it would be greatly appreciated. This is how I have coded so far: The Function: function CtrlHandler(fdwCtrlType: integer):boolean; In my console application main body I have put this: begin I get an error stating "Not enough paramaters" for CtrlHandler - but what Thanks, |