Hi,
I'm using ZEOS 7.1 to connect to MS-SQL server and get several problems pointing to ntwdblib.dll (e.g. "error in ntwdblib.dll: read from location F00000"). On my own pc with Windows 7 all runs OK, but on another pc with Windows XP i get the error. Very strange is that it happens any time on another place in my program.
Googling on ntwdblib.dll it appears that it is rather old and it is advised to replace it by another technique to connect with MSSQL (e.g. ODBC).
Is there anybody with experience on ZEOS7 / MS-SQL? Is ntwdblib absolutely needed or can i avoid it?
Thanks for suggestions
Henk
MS-SQL: problems with ntwdblib.dll
Moderators: gto, EgonHugeist, olehs
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
hstijnen,
from the MS documentations i know the ntwlib.dll is only supported untion SQL Server 2005. But i have a valid 2005 Server and have no luck here. The FreeTDS implementation allows direct C++API Acces without ADO and is much faster. So i propose the same like Michal did.
Michael
from the MS documentations i know the ntwlib.dll is only supported untion SQL Server 2005. But i have a valid 2005 Server and have no luck here. The FreeTDS implementation allows direct C++API Acces without ADO and is much faster. So i propose the same like Michal did.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
hstijnen,
i don't know which rev do you use here. It seems for me like a very old version. The lines and file you post here are removed since several weeks. For me the default locations looks like this:
NTWDBLIB_DLL_LOCATION ='ntwdblib.dll';
LIBSYBDB_WINDOWS_DLL_LOCATION = 'libsybdb.dll';
LIBSYBDB_LINUX_DLL_LOCATION = 'libsybdb.so';
FREETDS_WINDOWS_DLL_LOCATION = 'msdblibr.dll';
FREETDS_LINUX_DLL_LOCATION = 'dblib.so';
FREETDS_OSX_DLL_LOCATION = 'dblib.dylib';
and we have a compiled FreeTDS msdblibr.dll (release) in our lib folder too. So please update your Zeos. Actual Rev: 1649 on http://svn.code.sf.net/p/zeoslib/code-0 ... es/testing
Michael
i don't know which rev do you use here. It seems for me like a very old version. The lines and file you post here are removed since several weeks. For me the default locations looks like this:
NTWDBLIB_DLL_LOCATION ='ntwdblib.dll';
LIBSYBDB_WINDOWS_DLL_LOCATION = 'libsybdb.dll';
LIBSYBDB_LINUX_DLL_LOCATION = 'libsybdb.so';
FREETDS_WINDOWS_DLL_LOCATION = 'msdblibr.dll';
FREETDS_LINUX_DLL_LOCATION = 'dblib.so';
FREETDS_OSX_DLL_LOCATION = 'dblib.dylib';
and we have a compiled FreeTDS msdblibr.dll (release) in our lib folder too. So please update your Zeos. Actual Rev: 1649 on http://svn.code.sf.net/p/zeoslib/code-0 ... es/testing
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/