Debug is ok, but Release failed.
-
In my project, I used a control that I get from web and I have modified some of its code. When I build the project in Debug situation it could run correctly. But if I build it in Release situation, when I click the contol, it will throw exception and the programe will be failed. Have anybody ever meet such kind of situation? Debug is OK, but Release will failed.
-
In my project, I used a control that I get from web and I have modified some of its code. When I build the project in Debug situation it could run correctly. But if I build it in Release situation, when I click the contol, it will throw exception and the programe will be failed. Have anybody ever meet such kind of situation? Debug is OK, but Release will failed.
some stuff that might help - try stepping through the codes in debug mode and inspect each values individually to see if they are valid. sometimes u might get a CString or an int holding really strange values/strings that are unexpected - initialize all declarations