FIX: Cursor Functions Generate Error in Debug Windows 3.1
  
PSS ID Number: Q102545
Article last modified on 01-24-1995
 
4.20
 
WINDOWS
 

----------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft SQL Server Programmer's Toolkit, version 4.2
----------------------------------------------------------------------
 
BUG# 9000 (4.20.00)
 
SYMPTOMS
========
 
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?
 
CAUSE
=====
 
DB-Library incorrectly calls GlobalUnwire under certain circumstances
when using cursor functions such as dbcursoropen and dbcursorclose.
 
WORKAROUND
==========
 
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.
 
STATUS
======
 
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.
