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

后端 未结 6 2008
野性不改
野性不改 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 13:52

    You need to have library files and function definition headers to do this. If you happen to don't have them, you would try dynamic loading of DLL using LoadLibrary and GetProcAddress, pointers for linking functions.

提交回复
热议问题