Microsoft KB Archive/102545

From BetaArchive Wiki

FIX: Cursor Functions Generate Error in Debug Windows 3.1

PSS ID Number: Q102545 Article last modified on 01-24-1995



The information in this article applies to:
- Microsoft SQL Server Programmer’s Toolkit, version 4.2

BUG# 9000 (4.20.00)


When you are using DB-Library (DB-Lib) cursors in debug Windows 3.1, the following error message is generated:

GlobalUnwire: Object usage count underflow 0000:00F3 FatalExit code = 0x02F0 Abort, Break, Exit or Ignore?


DB-Library incorrectly calls GlobalUnwire under certain circumstances when using cursor functions such as dbcursoropen and dbcursorclose.


Start the DBWIN application that comes with debug Windows 3.1, choose the Settings command from the Options menu, and select the Don’t Break On Errors option. This will avoid the FatalExit prompt.


Microsoft has confirmed this to be a problem in DB-Library version 4.20.00. This problem was corrected in DB-Library 4.20.50. For more information, please contact your primary support provider.

Additional reference words: 4.20.00 dblib cursors KBCategory: kbprg KBSubcategory: SSrvDB_Lib


Copyright Microsoft Corporation 1995.