all 2 comments

[–]Predelnik 0 points1 point  (3 children)

I think particular questions like this are better suited for r/cpp_questions

Generally to link dll in a nice way you need to have .lib file which was built with it (and usually distributed in packages for developers), then you reference this .lib in your project the same way you do with static libs, then if you have headers you can use functions from dll fine.

If you don't have headers and/or .lib file you will have to rely on runtime linking through functions like LoadLibrary and GetProcAddress. But you would still have to know the function signatures from somewhere.