Home > Software engineering > Oracle C connections, the createConnection throw exceptions, not catch
Oracle C connections, the createConnection throw exceptions, not catch
Time:10-25
conn=env - & gt; The createConnection (username, password, connstring);
I in the debug version, no problem, create success, query is no problem, but the release version, has collapsed, use Oracle. H file and. Lib file, the debug version and release version set is the same, Try catch (... Won't catch), use the SQLException cannot catch more,
MFCTest. Exe of 0 x614e0804 in untreated exception: 0 xc0000005: access conflict while reading position 0 xffffe000
CodePudding user response:
This is a pointer exception, you look at the code in the object pointer to pointer is not valid