Simple program crash protection
Verfasst: 14 Okt 2005 13:45
Maybe this will be useful for some people. It is Simple crash protection for WsWin (and any other program - like WeatherLink, for example).
Run WsWin using this file (wswin.bat)
echo off
cd "c:\program files\wswin"
echo Initial start of WsWin
date /t
time /t
echo -----------
:top
start /w wswin32.exe
echo Restarting WsWin.ext at
date /t
time /t
echo ---------
goto :top
Run WsWin using that batch file. If the program terminates, the batch file will immediately restart it. This technique uses few computer resources.
For it to work, you should also go to My Computer properties. On the Advanced tab, click on the Error Reporting button. In the Error Reporting window, select "Disable error reporting" and do NOT select "But notify me when critical error occur".
If you want to exit WsWin, close the batch file window first, then you can close WsWin without it restarting.
Sorry I can only post in English. It is too hard for Google to translate this well. Maybe someone bilingual can translate this if you think it is useful.
Run WsWin using this file (wswin.bat)
echo off
cd "c:\program files\wswin"
echo Initial start of WsWin
date /t
time /t
echo -----------
:top
start /w wswin32.exe
echo Restarting WsWin.ext at
date /t
time /t
echo ---------
goto :top
Run WsWin using that batch file. If the program terminates, the batch file will immediately restart it. This technique uses few computer resources.
For it to work, you should also go to My Computer properties. On the Advanced tab, click on the Error Reporting button. In the Error Reporting window, select "Disable error reporting" and do NOT select "But notify me when critical error occur".
If you want to exit WsWin, close the batch file window first, then you can close WsWin without it restarting.
Sorry I can only post in English. It is too hard for Google to translate this well. Maybe someone bilingual can translate this if you think it is useful.