Microsoft KB Archive/102545

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:13, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q102545 to Microsoft KB Archive/102545 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.