Albert,
Is it possible that your app is throwing up an error condition at shutdown and you have a VFP internal dialog trying to pop up?
>VFP Exe is blocking Win 2000 shutdown. The Exe stops and drops from the task list, but the shutdown does not occur. The next shutdown attempt succeeds.
>
>The Exe has no window.
>
>Any Ideas?
>
>In Config.fpw:
>
>
>screen = off
>talk = off
>safety = off
>exclusive = off
>cpdialog = off
>resource = off
>
>
>
>In Program:
>
>
>Application.Visible = .F.
>
>on shutdown do trapShutdown
>
>...
>
>procedure trapShutdown
> * throw away any uncommited changes
> if !empty(alias())
> =tablerevert(.t.)
> endif
> on shutdown
> quit
>endproc
>