Using DLL's in Visual Studio 2010 C++ project
I am trying to use a DLL in a Visual Studio 2010 C++ project . 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.
When I op开发者_运维知识库en add reference there is no way for me to add any references, as shown below.
What am I doing wrong here?
You are using the wrong version of the tutorial. It is created for Visual Studio 2005 and you are using Visual Studio 2010. This is the correct version.
The problem here (I think) is that you didn't "add to solution" when creating the project that will utilize the dll file.
edit: or you might have forgotten to compile your dll
精彩评论