t******r 发帖数: 183 | | m*******n 发帖数: 154 | 2 basically impossible.
【在 t******r 的大作中提到】 : rt, thanks.
| k****i 发帖数: 1072 | 3 you need to expose the managed code a COM object.
You can generate the typelibrary from the metadata contained in the C#
assembly using regasm or tlbexp 【 在 tinybear (家家女巫) 的大作中提到: 】 | t******r 发帖数: 183 | 4 Yeah, I did that, and generated .tlb file, and imported it, using the smart
pointer as well, but i still can't make it work. The compiling was fine, but
the program breaks at creating a COM instance.
【在 k****i 的大作中提到】 : you need to expose the managed code a COM object. : You can generate the typelibrary from the metadata contained in the C# : assembly using regasm or tlbexp 【 在 tinybear (家家女巫) 的大作中提到: 】
| k****i 发帖数: 1072 | 5 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/
cpconcallingnetobject.asp
【在 t******r 的大作中提到】 : Yeah, I did that, and generated .tlb file, and imported it, using the smart : pointer as well, but i still can't make it work. The compiling was fine, but : the program breaks at creating a COM instance.
| z*****e 发帖数: 1 | |
|