This was my original QuitApp() code
Code: Select all
function quitapp()
dbcloseall()
freelibrary( hBorland )
set resources to
clear memory
ResAllFree()
if ! empty( oMainWnd )
oMainWnd:end()
endif
Syswait(.01)
quit
return .f.
Code: Select all
if ! empty( oMainWnd )
oMainWnd:end()
endif
Any idea why the above would cause the error ??
Thans
Jeff