Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle's method of locating its DLLs
When a DLL is loaded in windows, if the standard LoadLibrary() call is used without specifying an explicit path... etc... The OS will hunt for the library by looking in the following places:
\WINDOWS\SYSTEM(32)
\WINDOWS
\... os search path
Thus if a copy of the DLL exists in the SYSTEM32 directory it will be loaded in preference to another copy that exists on the OS search path.
Personally, I always thought it would have been better coding on Oracle's part to use an explicit path to the ORACLE_HOME\Bin directory.
-- -cheers DW -------------------------------------------------------------------- "It is a kind of good deed to say well; and yet words are not deeds. -William Shakespeare" Sent via Deja.com http://www.deja.com/Received on Fri Jan 26 2001 - 09:05:49 CST