SQLSRV32.DLL Stack Overflow !!!

SQLSRV32.DLL Stack Overflow !!!

Post by Corvin Bazga » Sun, 30 Apr 2000 04:00:00

I am getting a stack overflow in SQLSRV32.DLL ( on
SQL Server SP2 during a call to SQLExecute() to create a view.

When I call it the first time on a connection, it works.  When I
close the connection and connect to another database and I call
it a second time, it fails with the aforementioned exception.

Could someone verify it's a problem and provide a workaround?
Please CC to me directly.

Thank you.

Corvin Bazgan
Speed To Market Engines, Inc.

(To reply, remove nospam from address.)


SQLSRV32.DLL Stack Overflow !!!

Post by Gert Draper » Tue, 02 May 2000 04:00:00

Can you post the code to reproduce this. I tried your example via ODBC Test
can I can not get this to happen.


1. ntwdblib.dll vs sqlsrv32.dll (native driver vs ODBC driver)

It seems to me that the current ntwdblib.dll with MS SQL Server 7 CD
(beta 3) is not compatiable with MS SQL Server 7.  If a table has nchar,
nvarchar, or ntext data type field, the application used the
ntwdblib.dll will not work properly.  For example, the following simple
statemet cannot be executed successfully:

Select * from TableWithNTextField

However, an application used Sqlsrv32.dll will work fine.

In the past, isqlw.exe used ntwdblib.dll but the new isqlw.exe (with MS
SQL Server 7 beta 3 CD) uses sqlsrv32.dll.  What is the reason for the
change?  I cannot find the type definitions of nvarchar, nchar and ntext
in the new sqlfront.h, which defines the types of varchar, char and
ntext.  When I used the dbcolinfo to get the data type info for nchar
field, the reture value is 0x2f, which is just char data type.  So,
ntwdblib.dll is either not upgraded or cannot support the new MS SQL
Server anymore.

Can any one shed some light one my problem?  Thanks in advance.

Tao Lin

2. SQL statement question

3. SQLSRV32.DLL Version problem

4. When are variables bound in OracleSQL*Forms EXEMACRO stmts?

5. SQLSRV32.DLL version 2 Freeware or Licenced?

6. backup onbar

7. sqlsrv32.dll

8. Oracle 8 migration assistant

9. SQLSRV32.dll in Windows/system, but not available in driverlist in ODBC setup

10. Latest sqlsrv32.dll

11. sqlsrv32.dll can't handle all foreign Chars