Using DAO and ADO in ATL Service
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I have a interesting query.I have a ATL Service.In this service I want to create a Database using DAO .This Database created need to be accessed by ADO. I was able to create the Database successfully using DAO . I included "afxdao.h" file for this. Now to access the Database using ADO ,I had to import " msado15.dll ".After importing this Dll when the server is executed I am getting a error that "WINDOWS.H" is already included.When I remove this dll this error does not come but the ado objects could not be used to access the Database. I want to use DAO and ADO both in same program.If it is possible,how can I rectify this problem ? Thanx in advance for the help . Regards, yamini Y.Yamini Devi