* Program...........: CLEARESO.PRG * Author............: Daniel Gramunt * Created...........: 05.02.1999 12:08:39 *) Description.......: Deletes any references to the debugger from the *) : resource file. This might be one of the potential source *) : of the annoying C00000005 Fatal error * Calling Samples...: * Parameter List....: * Major change list.: *-------------------------------------------------------------------------------------------------- LOCAL lcReso lcReso = SYS(2005) SET RESOURCE OFF USE (lcReso) EXCLUSIVE DELE ALL FOR id = "F_DBGWINDOW" DELE ALL FOR id = "DBGFRAMEM" DELE ALL FOR id = "DEBUGGER" DELE ALL FOR id = "DBGFRAMEM" DELE ALL FOR id = "BPOINTS" DELE ALL FOR id = "WATCHEXPR" DELE ALL FOR id = "TTOOLBAR" AND name = "Debugger" PACK USE SET RESOURCE ON SET RESOURCE TO (lcReso)FWIW, I had very frequent crashes related to the debugger with VFP6, but haven't had to use this code since I've switched to VFP7.