I have been given a small library, consisting of a .dll, a .h header and a .def file. I'm fairly sure the library was written in C, but possibly C++.
Is it possible for me to access the functions in the library without using the LoadLibrary/GetProcAddress/FreeLibrary method that is usually talked about. I have no .lib file - is it usual to have one?
I've literally spent the past 2 days looking this up. It seems that since I've been given a header file defining the functions I wish to use from the dll, and a .def file I shouldn't need to explicitly 'load' each function manually (LoadLibrary/GetProAddress/FreeLibrary) - in my case I will be using around 5 or 6 functions from the .dll, but there are around 70 available and it seems that would be a ball-ache and result in an unnecessary mess of code.
Thanks for any advice.