Hi Daniel!
Some time ago I have the same problem trying to load the Oracle driver with
AOLServer 3.4 for Windows.
I have to touch the source files and compile all again.
The file that I have to modify was "ns.h", search this section of code and
try to modify and compile again.
The type "long long" is supported by VC6 but something is different with
"__int64", I don't know exactly where
is the difference (both types are 64 bits and integers) but with this
modification, AOLServer and the driver
for Oracle work fine.
Good luck!
Ariel.
....
....
....
#define NS_SOCK_READ 1
#define NS_SOCK_WRITE 2
#define NS_SOCK_EXCEPTION 4
#define NS_SOCK_EXIT 8
#define NS_NO_DATA 8
#define NS_END_DATA 4
#define NS_ROWS 2
#define NS_DML 1
#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; */
typedef __int64 INT64;
#endif
#define NS_TCL_SET_TEMPORARY 0
#define NS_TCL_SET_DYNAMIC 1
#define NS_TCL_SET_PERSISTENT 2
....
....
....
....
----- Original Message -----
From: "Daniel Page" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 17, 2001 8:25 AM
Subject: [AOLSERVER] MySQL/AOLServer - Strange things...
> Hi,
>
> My final tests were running on a WinNT 4 box. I copied the nsmysql.so
(renamed to nsmysql.dll) file to the same directory as nscp.dll
(c:/progra~1/aolserver/bin), and in the config file, and I copied the entry
for ${bindir}/nscp${ext} in ns/server/${servername}/modules to
${bindir}/nsmysql${ext} in ns/db/drivers - The nscp.dll module loads, but
nsmysql.dll won't, still with the error 126 (file not found)...
>
> I then inversed the names of nscp.dll and nsmysql.dll files on the disk -
>From this point, nsmysql.dll file loads, but gives an error about
ns_dbDriverInit - this seems normal, as it is a renamed console module, but
the important point is that AOLServer *can* find the file named
nsmysql.dll - and that the system gives an error 126 on loading the nscp.dll
file, which is in reality the nsmysql driver.
>
> This proves that AOLServer *can* find the nsmysql.dlI file, and from this,
I can deduct from this that there is a problem with the actual nsmysql
module, and that the Win32 error 126 in this case does not seem to mean
"file not found".
>
> The problem follows the *content* of the file, but not the *name* - unless
it cannot find a file that the module itself is dependant on... in which
case, the error 126 is not clear enough... and I do not have the Microsoft
Dependancy Walker tool to hand to check at this time...
>
> Aggghhh!!!
>
> - Daniel
>
>
>
> ---------------------------------
> Nokia Game is on again.
> Click here to join the new all media adventure before November 3rd.