I've generated my libmodbus library with visual studio 2008. I can see the .dll and the .lib files.
Now in my project I can use this library if I configure my project:
- Linker Additional directories. (.lib folder)
- Additional libraries (.lib file)
- C/C++ Aditional directories. (Library code path)
With this steps everythings works fine.
But, is it possible to do the same without have the source code? Only with my generated .dll and .lib files?
.lib
import library. And even then, you don't need an import library, as usingLoadLibrary
andGetProcAddress
allows you to call DLL functions at runtime. – PaulMcKenzie