_ConnectionPtr pConn;
pConn.CreateInstance(__uuidof(Connection));
pConn->Open("Provider=SQLNCLI11;Server=.;Database=YourDBName;Trusted_Connection=Yes;", "", "", adConnectUnspecified);
利唐i人事HR社区,发布者:HR_learner,转转请注明出处:https://www.ihr360.com/hrnews/20241236851.html