I have a .h file, two .lib files, a DLL file and a tiny test project from a hardware vendor to talk to my hardware.
Compiling and running their test project works fine. Remarkably: they do not use DLLs. I can drop the dll directory and all its contents, everything works fine.
To get started, I just copied parts of my code (connect, disconnect, and send a command) to my project. In fact, that’s all you can do. I included the .h file and pointed to the directory containing the .lib files. Like a tiny test project. All this compiles, but when I try to start the project, it complains that it is missing a DLL file.
Can anyone explain what is happening? How should the lib and dll libraries work?
All this in Windows VS2005. I was comparing .vcproj files and could not find any significant differences.
AnnaR source share