How do I reference a DLL in a VC++ project

后端 未结 6 2007
野性不改
野性不改 2021-02-03 13:42

I have a C++ driver I\'m trying to compile, and it has this line in the code:

#import \"msado15.dll\" no_namespace rename(\"EOF\", \"EndOfFile\")
6条回答
  •  长情又很酷
    2021-02-03 14:12

    This may be a little out of date for most people, however - for Visual Studio 2008, for a particular

    Project |
    Configuration Properties |
    C/C++ |
    Additional Include Directories |

    Select and click on the ellipsis (...).

    Add the directory

    C:\Program Files\Common Files\System\ado
    

    and move it to the bottom of the list using the arrows.

提交回复
热议问题