[英]Using DLL's in Visual Studio 2010 C++ project
I am trying to use a DLL in a Visual Studio 2010 C++ project . 我试图在Visual Studio 2010 C ++项目中使用DLL。 I followed the directions here but http://msdn.microsoft.com/en-us/library/ms235636(v=vs.80).aspx I cannot seem to add references to my project.
我按照这里的指示,但http://msdn.microsoft.com/en-us/library/ms235636(v=vs.80).aspx我似乎无法添加对我的项目的引用。
When I open add reference there is no way for me to add any references, as shown below. 当我打开添加引用时,我无法添加任何引用,如下所示。
What am I doing wrong here? 我在这做错了什么?
The problem here (I think) is that you didn't "add to solution" when creating the project that will utilize the dll file. 这里的问题(我认为)是在创建将使用dll文件的项目时没有“添加到解决方案”。
edit: or you might have forgotten to compile your dll 编辑:或者您可能忘记编译您的DLL
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.