Uhmmmm....I believe that the problem is not with the DLL; all the places of
files depends of the
enviroment variables NS_HOME, ORACLE_HOME and PATH.
Besides this, I compiled the Oracle driver with my own installation of
Oracle and the driver don't work with the version 3.4 of AOLServer.
The driver work very well with 3.0, 3.2 and 3.2+ad??.
This was the motive to think in compile the source of AOLSrv from scratch.

I found (I don't found really, the compiler show an error) that in the file
"ns.h" there is an ADT with the following declaration:

typedef long long INT64;

Double is the only data type of 64 bits in Windows according to the
documentacion of VC and the declaration "long long" is not valid, then for
Win32 I added this:

typedef long INT64;

...and after the driver load well.

Here is the fragment code of "ns.h" (line 93):
-------------------------------------------------------------------
#define NS_ENCRYPT_BUFSIZE   16

/* Ariel */
#ifndef WIN32
 #ifdef __alpha
  typedef long INT64;
  #define NS_INT_64_FORMAT_STRING "%ld"
 #else
  typedef long long INT64;
  #define NS_INT_64_FORMAT_STRING "%lld"
 #endif
#else
/* Ariel */
  typedef long INT64;
#endif

#define NS_TCL_SET_TEMPORARY      0
-------------------------------------------------------------------


Ariel.

_______________________________
Ariel E. Carn�
Buenos Aires - ARGENTINA
e-mail: [EMAIL PROTECTED]




----- Original Message -----
From: "Dossy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 9:29 PM
Subject: Re: [AOLSERVER] AOLserver 3.4 Win32 binaries


> On 2001.07.12, Ariel E. Carn? <[EMAIL PROTECTED]> wrote:
> > This binaries work fine but when I try to uso with the Oracle driver
> > (any version), the driver show the message error "'win32 error code:
> > 126" in the load of the DLL.
>
> Interesting.  Error 126 is "module not found" -- the Oracle driver
> DLL was compiled against a DLL that the dynamic link loader can't
> locate.  It must need a DLL (probably one of the Oracle libraries)
> and since you don't have the library in the same place that the
> person who compiled the Oracle driver you're using ... it can't
> find it.
>
> If you figure out what library it is, you could just copy it into
> your aolserver/bin directory...
>
> - Dossy
>
> --
> Dossy Shiobara                       mail: [EMAIL PROTECTED]
> Panoptic Computer Network             web: http://www.panoptic.com/
>

Reply via email to