06-25-2008 05:01 AM
06-25-2008 05:56 AM
06-25-2008 10:49 PM
I am trying to migrate a vb6.0 project which is using a CWGraph control to C# application. The installation of the vb6.0 application also adds cw3dgrph.ocx ,cw3dgrph.ocx and cwanalysis.ocx controls in System32 folder and I am referencing the same control in the C# application and trying to access the CWGraph control (C# itself creates the wrapper for this ActiveX controls:AxInterop.CW3DGraphLib,AxInterop.CWUIControlsLib,etc).
When I enable the CLRExceptions from the Debug menu in Visual studio and run the code , an unhandled exception of type COMException occurs without any description about th exception(it displays Unknown Error). everything runs fine if I disable the CLRException from debug menu.