>I have a compiled program running on XP, it is dead, I want to kill it in Windows Task Manager, the program propmts: Can not quit Visual Foxpro.
>Has any guy give me a good idea to avoid the prompt message ?
There's another trick to this: it will display "cannot quit" message if it has code executing while you try to close it. It needs a wait state - and the "cannot quit" dialog is such a wait state. So don't click OK, just kill it while it displays that message.
Of course, a regular shutdown procedure is much better - this is for special cases when you invent a new type of infinite loop.