P
paul
I have a Windows vb.net app that creates an Object from a .net dll that I wrote.
If the dll fails to achieve its task I get it the re-throw an exception.
the windows app encapulates the object creation in a try catch block.
eg
Windows App
------------
Try
__Configuration = New DT.Support.Configuration
Catch ex As Exception
MsgBox(ex.ToString)
Finally
DLL
---
Try
Initialise(GetSetting("General"))
Catch ex As Exception
ExceptionCaught = True
Throw
Finally
THE PROBLEM is even though I'm catching the thrown exception
the "common language runtime services" debugging dialog box pops
up and asks to debug it because it was an unhandled exception,
then my exception handling catches it.
How can I turn off the JITDebugging.
I've tried the App.config " <system.windows.forms jitDebugging="False" /> "
I don't/can't use the machine wide registry setting to turn off JITDebugging.
All I want is for my Windows app to handle any exceptions from my dll.
If the dll fails to achieve its task I get it the re-throw an exception.
the windows app encapulates the object creation in a try catch block.
eg
Windows App
------------
Try
__Configuration = New DT.Support.Configuration
Catch ex As Exception
MsgBox(ex.ToString)
Finally
DLL
---
Try
Initialise(GetSetting("General"))
Catch ex As Exception
ExceptionCaught = True
Throw
Finally
THE PROBLEM is even though I'm catching the thrown exception
the "common language runtime services" debugging dialog box pops
up and asks to debug it because it was an unhandled exception,
then my exception handling catches it.
How can I turn off the JITDebugging.
I've tried the App.config " <system.windows.forms jitDebugging="False" /> "
I don't/can't use the machine wide registry setting to turn off JITDebugging.
All I want is for my Windows app to handle any exceptions from my dll.