Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a data source dynamically
Message
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
Adding a data source dynamically
Divers
Thread ID:
00119565
Message ID:
00119565
Vues:
37
How do you add a data source dynamically as part of a setup program? I have purchased the ODBC SDK developers kit and am still confused. It appears to be some call to SQLConfigDataSource with DSN=??? and certain keywords. Anybody out there with experience or suggestions?

Example:

I have a Visual C++ exe that accesses the aw20.dbc VFP 3.0 database. I had to go to the 32bit ODBC administrator and add aw20 as a data source with Visual FoxPro as the driver before I could run my program and access the database. I want to be able to do that using the setup program or by calling SQLConfigDataSource so the end user doesn't have to mess with ODBC setup.

Thanks for any help. Don West.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform