Hi,
If an error occurs, the error.log file is saved automatically.
How do I make sure that when an error occurs, some of my functions are executed and an error.log file is created?
FUNCTION ErrorDialog(e)
// At top in errordialog() function, 1st recording
c:= "Description error: "+ e:description
c+= Procname(1)+ CRLF+ ProcName(2)+ ProcName(3)
memoWrit("ErrorMin1.log", c)
.........................
// 2nd recording. More info
c+= "Exe Name: "+ ExeName()+ CRLF
c+= "User: "+ UserName() + CRLF
c+= "User program: "+ UserProgram()
memoWrit("ErrorMin2.log", c)
........................................
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 83 guests