safe shut-down



Hi!

My app must be close with the close button (x button).

If the user launches the app in a console, he can close it

with crtl+c and this produces a non-safe shut-down.

How can I avoid this?

Thanks,

      Eusebio

--
"No me des las gracias a mi,
 daselas a la ley de la gravedad"
 MacGyver en The Simpsons







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]