Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a data source dynamically
Message
 
To
All
General information
Forum:
Visual C++
Category:
Other
Title:
Adding a data source dynamically
Miscellaneous
Thread ID:
00119565
Message ID:
00119565
Views:
39
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.
Next
Reply
Map
View

Click here to load this message in the networking platform