Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't pop up JitDebugger window if "COM Server for DParser" crashes #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions vdc/abothe/comserver/DParserCOMServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,12 @@ class Program
/// </summary>
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);
}
}
3 changes: 0 additions & 3 deletions vdc/abothe/comserver/DParserCOMServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,4 @@
<Name>DParser2</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
</Project>