>Hi all
>
>I have a program which is launched at windows start and runs in background.
>I realized it prevents windows to restart and it is a problem in certain circumstances. How can I stop this routine if a windows restart has been invoked ?
>
>thanks
>Alessio
Check the "Binding to Windows Message events" and example with "Power broadcast...".
When you get such message then close your application w/o any User interaction.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.