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?
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?