Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a DSN

Status
Not open for further replies.

siftach

Programmer
Jul 22, 2003
78
0
0
IL
I wrote a program that needs an MS Access DSN. The client always forgets to install the DSN on the computers and as a result the program does not work. I want my program to be able to add the DSN in case openning it fails.

I tried an example using DAO's RegisterDatabase, but I do not know what modules should be linked to make it compile. If I add ddao35.lib, the program will compile but crash on runtime looking for ddao35.dll, which I don't have.

How can I make it work, preferrably not with DAO?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top