ddoody
Programmer
- Jan 17, 2008
- 8
Hi all,
I have a vb6 dll that is attempting to call a vb.net (2005) dll via COM interop.
The moment the vb6 component attempts to instantiate an object from the .NET dll, the above error occurs.
As near as I can tell, all of the non-framework components the .net dll uses live in the same directory as the troubled component. This is possibly not the case though, given the message.
Also, as near as I can tell the vb.net component is correctly set up for COM interop (it was upgraded from an old vb6 component). I have no issues compiling the vb6 component against the COM reference exposed by the .net dll and those references are stable across multiple builds.
It may or may not be relevent, but the vb6 dll is an automation add-in to MS Excel. The .net component does not reference Excel or Office.
I am fluent in vb6 but new to .net. Any help to track down the source of this error would be much appreciated.
I have a vb6 dll that is attempting to call a vb.net (2005) dll via COM interop.
The moment the vb6 component attempts to instantiate an object from the .NET dll, the above error occurs.
As near as I can tell, all of the non-framework components the .net dll uses live in the same directory as the troubled component. This is possibly not the case though, given the message.
Also, as near as I can tell the vb.net component is correctly set up for COM interop (it was upgraded from an old vb6 component). I have no issues compiling the vb6 component against the COM reference exposed by the .net dll and those references are stable across multiple builds.
It may or may not be relevent, but the vb6 dll is an automation add-in to MS Excel. The .net component does not reference Excel or Office.
I am fluent in vb6 but new to .net. Any help to track down the source of this error would be much appreciated.