I have a program in c# working in COM interop via a helper .dvb, which simpley calls a function in the com visible managed dll (2004):
Public omTest As MyProgram.MyProgram
Public Sub Start()
Set omTest = New MyProgram.MyProgram
Call omTest.COMEntry(ThisDrawing.Application)
End Sub
My problem is, if I add a new drawing to the CAD, and after I have a dialog form (.ShowDialog() ), and close it, than I can't reach my main form (can't click to a button, or whatever), and also cannot reach autocad; the only solution is to kill cad in the task man.
How can I solve it?