diff --git a/vdc/abothe/comserver/DParserCOMServer.cs b/vdc/abothe/comserver/DParserCOMServer.cs index 946b2dc2..ed3d9dec 100644 --- a/vdc/abothe/comserver/DParserCOMServer.cs +++ b/vdc/abothe/comserver/DParserCOMServer.cs @@ -295,8 +295,12 @@ class Program /// static void Main(string[] args) { + SetErrorMode(3); //don't show JitDebugger on crash // Run the out-of-process COM server ExeCOMServer.Instance.Run(); } + + [DllImport("Kernel32.dll")] + public static extern uint SetErrorMode(uint mode); } } \ No newline at end of file diff --git a/vdc/abothe/comserver/DParserCOMServer.csproj b/vdc/abothe/comserver/DParserCOMServer.csproj index dd668b7d..cbe02fbe 100644 --- a/vdc/abothe/comserver/DParserCOMServer.csproj +++ b/vdc/abothe/comserver/DParserCOMServer.csproj @@ -71,7 +71,4 @@ DParser2 - - - \ No newline at end of file