Subj : Re: Determine if a dll supports a certain call/has a certain function To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Dec 21 2004 08:38 am Jeff Kish wrote: >I've never loaded a DLL dynamically before. Is it possible if a DLL is >simply linked into the application (not loaded dynamically) to >determine from a calling programe that a certain function is >available? > >What I'm trying to solve is add a function to a dll, but not have it >blow up if an older NOP dll is in place in the executable directory. When you load dynamically, you also call GetProcAddress for every function in the dll that you need to use. If the old dll doesn't have that function, GetProcAddress will fail. You can then handle that however you want. .