Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle's method of locating its DLLs

Re: Oracle's method of locating its DLLs

From: DriftWood <drift_wood_at_my-deja.com>
Date: Fri, 26 Jan 2001 15:05:49 GMT
Message-ID: <94s3o6$pcq$1@nnrp1.deja.com>

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US