Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare DLL error
Message
De
08/11/2002 10:44:37
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Declare DLL error
Divers
Thread ID:
00720301
Message ID:
00720301
Vues:
51
In my application I use the odbccp32.dll to configure my ODBC settings programatically. The syntax is as follows

DECLARE Integer SQLConfigDataSource in odbccp32.dll Integer, Integer,;
String, String

settings="DSN=acctpay"+chr(0)+;
"Description=acctpay"+chr(0)+;
"SourceDB="+SYS(5) + SYS(2003)+"\acctpay.dbc"+chr(0)+;
"SourceType=DBC"

SQLConfigDataSource(0,1,"Microsoft Visual FoxPro Driver",settings)

Randomly I get an error 2027 "Declare DLL call caused an exception"
I do not get the error all the time and seems to have just started happening over the past couple months.

Does anyone know if there is an updated odbccp32.dll or another way to configure ODBC setting from within VFP ?

Thanks For Your Help !
Stephen J. Hunt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform