DLL References in Visual C++

后端 未结 3 1011
心在旅途
心在旅途 2020-11-29 19:44

I have had C++ experience but not MSVC.

What I am trying to do is incorporate a .dll from an open source project into my project. The code is available and I have bu

3条回答
  •  悲&欢浪女
    2020-11-29 20:01

    The additional include directories are relative to the project dir. This is normally the dir where your project file, *.vcproj, is located. I guess that in your case you have to add just "include" to your include and library directories.

    If you want to be sure what your project dir is, you can check the value of the $(ProjectDir) macro. To do that go to "C/C++ -> Additional Include Directories", press the "..." button and in the pop-up dialog press "Macros>>".

提交回复
热议问题