is there a way to keep a C++ .exe built in .net 1.1 from
bringing up the just in time debugger? i don't want
this. during normal running, we want the application to
just die on a crash. what happens is the just in time
comes up on the server and it just sits there with the
app in a hung state. we have another process running
that if any .exe "disappears", it restarts it. when JIT
comes up, it doesn't disappear and the server just sits
there dead. of course we need to find what is causing
this, but when running in production state, we need jit
to be disabled.

how can this be done?

thanks.

Re: just in time debugger by Jan

Jan
Wed Dec 17 12:06:18 CST 2003

You can catch any exception when you attach to the
System.Windows.Forms.Application.ThreadException. By doing so you'll prevent
the debugger window to pop up. But be aware if your app is multi threaded,
you'd have to catch all exceptions of all threads.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"jh" <anonymous@discussions.microsoft.com> schreef in bericht
news:020201c3c4c6$757ad9e0$a101280a@phx.gbl...
> is there a way to keep a C++ .exe built in .net 1.1 from
> bringing up the just in time debugger? i don't want
> this. during normal running, we want the application to
> just die on a crash. what happens is the just in time
> comes up on the server and it just sits there with the
> app in a hung state. we have another process running
> that if any .exe "disappears", it restarts it. when JIT
> comes up, it doesn't disappear and the server just sits
> there dead. of course we need to find what is causing
> this, but when running in production state, we need jit
> to be disabled.
>
> how can this be done?
>
> thanks.
>