C++/CLI and C# VS COM and unmanaged Code

1. C# VS COM---------directly add the COM tlb as reference and then make use of com class just like native dotNet class.

2. C# VS unmanaged module------------PInvoke. More about PInvoke: System.Runtime.InteropServices Namespace 

 

3. C++/CLI VS COM--------either #import the tlb like native C++ OR add reference to the tlb like dotNet.

4. C++/CLI VS unmanaged code--------mixed programming.

posted @ 2010-09-30 15:14  能巴  阅读(246)  评论(0)    收藏  举报