Drake7707 Posted May 14, 2008 Report Posted May 14, 2008 I have made a module that handles all errors (when they are added with mz-tools to each method) that writes the error to a log file and executes a method to cleanly restart the program. My brother asked me to make it for his home made mmorpg game based on the vbgore code, so his server automatically dumps all data and reboots. The code however becomes slightly difficult to read because of all the error handling and line numbers :s And no, i won't be adding this in DCME , i don't have time for that CrashProofExample.zip
Samapico Posted May 14, 2008 Report Posted May 14, 2008 We'd just need to change the error handler method, right? Cause we already have a global error handler I don't have time either, though
»Admiral Kirk Posted May 15, 2008 Report Posted May 15, 2008 UnhandedExceptionHandler, however in VB6 it was a serious pain to deal with if you wanted to actualy get a full Stack Trace and other important info. In VB7 it was made much easier. But I mean, its not like youd use VB to write anything criticly imortant anyway so its not that big a deal.
Recommended Posts