After doing some research on linking DLLs I came across two different methods for loading DLLs.
The first method was using the linker. I added the paths to the DLL's header(s) and the libraries and added to the linker options to link them. Then all I had to do was include the DLL's header(s) and it worked.
The second method was using GetProcAdress which is declared in the windows.h header. The was done by creating a HINSTANCE and set it with LoadLibrary("mylib.dll") (or whatever the DLL's name is that I'm linking) and setting a function point to the adress of GetProcAdress(hInstance, "myFunction").
Both of these work but I wanted to know which is more commonly used and is a better programming practice. And for the matter, which method is faster.
Thanks!