-1

I am working a application dev which uses API for a device. The API was downloaded with a dll file which i had to reference it in the project in visual studio 2017.

But I am getting an error that the dll version cannot be used or not suitable be used for this project.

So someone can pls help me out how can i reference a 3rd party dll file to a vs c++ project.

I have attached the error picture.enter image description here

1 Answers1

0
  1. DLL has .lib file for linking the file and some headers to include in the library/source.You can use the methods and functions defined in the header files included in that dll file.
  2. To add a link to the library just add the .lib file to the project config under Linker->Input->Additional Dependencies.
Dhrumil Panchal
  • 406
  • 5
  • 11