CString strConnection = _T("Provider=MSDASQL;PersistSecurityInfo=False;"
"Trusted_Connection=Yes;"
"Data Source=LocalServer;catalog=strDbCatalog");
_T是什么意思呀??
"Trusted_Connection=Yes;"
"Data Source=LocalServer;catalog=strDbCatalog");
_T是什么意思呀??
即,如果你在Project->Setting->C++->Preprosesser Definitions 中写了UNICODE,_UNICODE的话,编译程序将把字符串每个字符转变成宽字符编译.....