BUG: Dbcursorbind with Money Datatype May Hang ApplicationLast reviewed: May 5, 1997Article ID: Q101849 |
The information in this article applies to:
SYMPTOMSWhen a C function, using DB-Library (DB-Lib) cursors and doing a dbcursorbind of a money column to a C string variable, is called from a COBOL application, the application may hang (stop responding). On MS-DOS programs, if enough time is allowed to pass, the machine may restart itself. For OS/2 programs, if enough time is allowed to pass, the program may experience a general protection fault (GP fault). When the C function is called from a C program, the function works fine.
WORKAROUNDInstead of using dbcursorbind to bind the money column to a program variable, use dbcursorbing with a vartype of NOBIND on the money columns and use dbconvert to convert the data from money to string.
STATUSMicrosoft has confirmed this to be a problem in DB-Library version 4.20.00. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: dblib freeze gp-fault
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |