I have a strange pb with my application:
My app is a dlg application in which i have to use a ADO connection with an Access database:
CString strTemp;
strTemp.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\SwaptionCalculator\\ParameterFile.mdb;"
_bstr_t strCnn(strTemp);
In the last line there is a pb i have never met before today(i would like to specify that this lines haven't be changed since i have started my application, and it runned very well before today!)
So, if i try to run my application, a message arrives, telling me this thing:
"unhandled exception, ....0x00000005. Access Violation"
This happened when the app is at line of the following declaration:
_bstr_t strCnn(strTemp)
So, i would like to know what is the problem, and i thank in advance people who can help me
gerald
My app is a dlg application in which i have to use a ADO connection with an Access database:
CString strTemp;
strTemp.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\SwaptionCalculator\\ParameterFile.mdb;"
_bstr_t strCnn(strTemp);
In the last line there is a pb i have never met before today(i would like to specify that this lines haven't be changed since i have started my application, and it runned very well before today!)
So, if i try to run my application, a message arrives, telling me this thing:
"unhandled exception, ....0x00000005. Access Violation"
This happened when the app is at line of the following declaration:
_bstr_t strCnn(strTemp)
So, i would like to know what is the problem, and i thank in advance people who can help me
gerald