Subj : Re: Determine if a dll supports a certain call/has a certain function To : borland.public.cpp.borlandcpp From : Bruce Salzman Date : Tue Dec 21 2004 10:47 am > 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? > All DLLs are dynamically loaded. Implicitly linked DLLS are linked to your app with an export library. The exported functions are located for you when Windows loads the DLL. An explicitly loaded DLL is loaded with LoadLibrary(). You can call GetProcAddress() to see if the function you want is exported. > 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. I think the older program should be OK if you don't change whatever it is looking for. Adding new exports won't break that. Regards, Bruce .