Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to use .NET library from C++ code.

What i am doing is ....

Decorating the C# classes using ComVisible[true] attribute.
Registering the dll using "RegAsm DLLNAME.dll /tlb"
Importing above tlb in C++ code.
Then Creating instance of the com component.

Everything is working fine for normal classes.

But when i introduce TEMPLATE in the class definition everything breaks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900