Jens_Lambrecht
2010-01-12 13:54:01 UTC
Hello,
I habe an application (developed with MS Visual Studio 2008) which connects
to a sql server 2005 or sql server 2008 using the db library (ntwdblib.dll
ver 2000.080.0194.00).
When testing this under win 7 or win 2008 server the connection via
dbopen(...) works fine with a local sql server but fails with a remote sql
server.
My code for the connectionroutine looks like this:
m_p_loginrec = dblogin();
DBSETLSECURE(m_p_loginrec);
m_p_dbproc = dbopen(m_p_loginrec, m_p_chServer);
Is there a way to get this working with db library or will I really have to
remove db library from my project an use some ODBC API?
Thanks fpr your help.
I habe an application (developed with MS Visual Studio 2008) which connects
to a sql server 2005 or sql server 2008 using the db library (ntwdblib.dll
ver 2000.080.0194.00).
When testing this under win 7 or win 2008 server the connection via
dbopen(...) works fine with a local sql server but fails with a remote sql
server.
My code for the connectionroutine looks like this:
m_p_loginrec = dblogin();
DBSETLSECURE(m_p_loginrec);
m_p_dbproc = dbopen(m_p_loginrec, m_p_chServer);
Is there a way to get this working with db library or will I really have to
remove db library from my project an use some ODBC API?
Thanks fpr your help.