G
Guest
I'm generating a TLB from one of my assemblies that contains an interface
declaration. The class that implements this interface is in another assembly.
I import this tlb in my C++ code to create instances of my C# classes. The
problem I have is that I need to specify the class in my CoCreate call in C++.
If I try to generate a TLB for the assembly that does contains the class and
interface implementation, I end up with a circular dependency problem between
my C++ and C# projects.
Is there any way I can declare the C# class along with the interface (a bit
like a IDL file) in that first assembly so the class is defined in the TLB?
Thanks,
declaration. The class that implements this interface is in another assembly.
I import this tlb in my C++ code to create instances of my C# classes. The
problem I have is that I need to specify the class in my CoCreate call in C++.
If I try to generate a TLB for the assembly that does contains the class and
interface implementation, I end up with a circular dependency problem between
my C++ and C# projects.
Is there any way I can declare the C# class along with the interface (a bit
like a IDL file) in that first assembly so the class is defined in the TLB?
Thanks,