com interop
Hi,
I created an automation in .NET. When I leave all the code in one namespace everything goes well.
Recently I decided to refactor the project and put my interfaces in a general library (just a class library). I reference this library in the other libraries that use the interfaces.
The methods are still exposed etc, but when I try to instantiate (in excell (macro), or in other applications that allow the automation to be used), it throws an exception, saying that the com object can't instantiate.
The assemblies are strongnamed, classes used have a default constructor w/o parameters.
Steven Gilissen
|