Re: Problem with Direct Oracle Access in Delphi 5

From: Brooks Vaughn <brooks_at_tidalwave.net>
Date: Wed, 29 Dec 1999 10:56:49 -0500
Message-ID: <386A2F41.E14F0342_at_tidalwave.net>


When I get this error, it tells me that the workstation has both SQL*Net 2.3.4 and Net8 installed. Net8 was either removed or installed incorrectly so I just Renane OCI.DLL to OCI.001.DLL and DOA works great.

If you look at the OCI.dll version information, it tells you what version of Oracle SQL*Net it's looking for. Without the corresponding Oracle support files like ORA7x.dll or ORA8x.dll's installed correctly, then SQL*Net will fail to load correctly and give you the message you are experiancing.

Brooks

Norman Dunbar wrote:

> Adam,
>
> the message may be misleading as the dll in question may have failed to
> load another dll that it requires. To find out which other dlls are
> required, use quick view (explorer, right click oci.dll and choose quick
> view) to view the 'contents' of the dll and not the names of the dlls
> that it imports from. You shoiuld look for the 'import table' section
> and note the names of all the dlls that appear there. All of these (and
> their own dependencies) must be on your path.
>
> Alternatively, use something like dependency walker which I think is
> available from Microsoft somewhere - I don't have a URL but I do have a
> zipfile which I have mailed separately to your email address.
>
> Regards,
>
> Norman.
>
> >> I have installed the Direct Oracle Access components and when I use
> >> them, such
> >> an error eppears : 'Initialization error.Could not load
> >> C:\ORAWIN95\BIN\oci.dll.'
Received on Wed Dec 29 1999 - 16:56:49 CET

Original text of this message