On 8/3/07, Shmuel Fomberg <[EMAIL PROTECTED]> wrote:
> IK wrote:
>
> >> Is it possible?
> >
> >Sorry for the question, but what do you mean ? Unlike unics, Windows
> >is a gui based system, that ctrl+c is an event of the keyboard. So  do
> >you mean that you want to capture it inside a windows shell ? or
> >inside a gui based program ? or ...?
>
> Yes, I'm talking about a command line program.

Take a look at the following winAPI function:
SetConsoleCtrlHandler
http://msdn2.microsoft.com/en-us/library/ms686016.aspx

>
> Shmuel.
>
>

Ido
-- 
http://ik.homelinux.org/
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to