>Hi Hugo.
>
>Yes, I've got the Shutdown event, it's in the framework I use, which is Codemine V7. Codemine takes care of closing forms and taking care of all stuff.
>When Windows starts its shutdown procedure, my application does shutdown properly, but then by some reason Windows doesn't.
>
>I just wish it would die peacefully ...
>
>Thanks for your attention.
>
>Ivan
>
>
>
Ivan,
I see the problem. Well, if it doesn't want to behave, you can force it. In other words, if it's easy to determine, that application closing was caused by Windows Shutdown, you can close Windows yourself. The code should be here in API section.
If it's not broken, fix it until it is.
My Blog