c++dll

How to link dll and lib provided by other to c++ program


I have sample code with following file extension which are written in c++:

The sample code in .cpp is calling API in dll/lib file. My objective is to run the sample code in visual studio 2013 and see how it works. I need some guide on linking the dll or lib file.

I have created a c++ win32 console application in visual studio 2013 and place the cpp file under source file and .h file under header file But I am not sure how to link the dll and lib so that the sample code program can be run successfully

Note that I don't have the source code or implementation of the dll or lib.


Solution