Error message "
the connection fails: unspecified error "!!!!!!! If don't have to Try... The Catch... Will prompt "
0 x75204b32 place an unhandled exception: Microsoft c + + exceptions: memory location 0 x0018f568 _com_error, "Click continue to point to the error code that is below the last return!!!!!!
The inline HRESULT Connection15: : Open (_bstr_t ConnectionString, _bstr_t UserID, _bstr_t Password, long Options) {
HRESULT _hr=raw_Open (the ConnectionString, UserID, Password, Options);
If (FAILED (_hr)) _com_issue_errorex (_hr, this __uuidof (this));
Return _hr;
}
And connection string tried a lot, all not line!!! System generated also not line!!!!!! I am using VC2005, the option is to use the Unicode character set, two sentences (and is commented out) connection is not!!!!!! Exactly what to do!!!