Topic: Choice dll ADO in winXP win7 win8 (8.1) and win10
Hello dear GURUS!
I need your councils about following questions:
1. It is necessary that the program for operation with a database correctly worked on different Windows versions
winXP win7 win8 (8.1) and win10 using library ADO
In directory C:\Program Files (x86) \Common Files\System\ado there is a heap dll.
Prompt please what of from these dll to import for this or that Windows version
Google gives usage examples msado15.dll msado20.dll...
It would be desirable to know what dll in what cases it is used (something like the table of correspondences).
Databases - (Access MSSQL MySQL).
2. If the choice dll depends on OS how program to connect the necessary library?
I can define the version of OS the user function. But to register the directive #import in a function body it is impossible
Whereas to learn the version of OS without usage of the user function, that in the beginning of a file with the code
To register necessary dll
Or the directive #import to register all variants;
And in the program, depending on OS to use calls of functions from necessary dll?
Thankful in advance for any help