PRB: Query with DBEXEC() Causes GP Fault Under Windows NTLast reviewed: January 26, 1996Article ID: Q114202 |
The information in this article applies to:
- Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, and 2.6
SYMPTOMSWhen you use the DBEXEC() function (in the FoxPro Connectivity Kit) to execute a query using one of the ODBC Desktop Database Drivers, a general protection (GP) fault occurs.
CAUSEThe files associated with the ODBC Desktop Database Drivers conflict with the FoxPro Connectivity Kit when FoxPro for Windows is running under Windows NT version 3.1.
RESOLUTIONA resolution has not yet been determined. To avoid this problem, do not use the ODBC Desktop Database Drivers with FoxPro for Windows when FoxPro is running under Windows NT version 3.1.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe Microsoft ODBC Desktop Database Drivers use a common database engine that resides in a file called SIMBA.DLL. The ODBC Desktop Database Drivers that use SIMBA.DLL include drivers used to access the following file types: Microsoft Access, Microsoft FoxPro, dBASE III, dBASE IV, Paradox, Btrieve, and Microsoft Excel. Since these drivers all use SIMBA.DLL, a GP fault may occur when these drivers are used with the Connectivity Kit when FoxPro for Windows is running under Windows NT 3.1.
Sample Code
SET LIBRARY TO FPSQL ADDITIVE xhandle = dbconnect(<data source name>,'','') &data source has already * been set up using the ODBC icon in Control Panel. z=dbexec(xhandle,"Select * from CUSTOMER") BROWSE =dbdisconnect(xhandle) RELEASE LIBRARY FPSQL |
Additional reference words: FoxWin gpf 2.50 2.50a 2.50b 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |