Why MFC Ado pplication doesn't work on another computer?
1 I have built an application using VC++ 2015, It is an MFC application I set the project "Cahracter Set= Not set" so I don't need Unicode version. My application uses ADO to connect to database so try { HRESULT hr = m_pConnection.CreateInstance(__uuidof(adoNS::Connection)); if (SUCCEEDED(hr)) MessageBox(TEXT("CreateInstance succeeded!")); catch (_com_error& e) MessageBox(e.Description()); catch (...) MessageBox(TEXT("OnNewDocument Exception!")); So another handling above. When I build the project it runs fine on my computer Windows 7 x64. But If I run the application on another windows 7 I don't get any exception, no CreateInstance succeeded!?? So The problem is with ADO library how can I figure it out please? After some search I have Copied the folder ADO from the the target machine (another computer running windows 7 x86) to my Computer (with win7 x64) and VS2015. Now I imported this new ADO library: #import "C:User...