-
Speed of GetProcAddress
Hello, I'd like to make a call to dynamically loaded DLL (loaded with LoadLibrary) and use GetProcAddress to get the pointer to the function, then make the call.
My question; Is GetProcAddress fast? Can I use it right before I make the call or should I call it for once first and store the pointer as long as I have the DLL loaded?
Thanks,
-
One would think it's fast enough to suit that purpose, but the majority of people fetch all the functions they will ever need from a DLL by doing multiple calls at the start of their program so they have them all the time without having to worry about dynamic loading.