VS2010:另一个C ++程序使用的C ++ Dll [英] VS2010: C++ Dll used by another c++ program
本文介绍了VS2010:另一个C ++程序使用的C ++ Dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在VS2010中,如果一个C ++项目使用另一个C ++ dll,则它会在添加引用的同时创建Interops.通常,Interop用于非托管应用程序.
Hi, In VS2010 if one C++ project uses another C++ dll, it is creating Interops while adding reference. Generally Interops are used for Managed-UnManaged application.
只是想弄清楚VS 2010是否发生了任何变化.
Just wanted to get clarification is there any change happened in VS 2010.
推荐答案
这正是互操作性的用途-托管-非托管桥接.
That is exactly what interops are there for - Managed-Unmanaged bridging.
您描述的方式没有任何改变.
Nothing had changed in the way you've described it.
DLL可能是使用/CLR开关构建的.
The DLL is probably built with the /CLR switches.
这篇关于VS2010:另一个C ++程序使用的C ++ Dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文