Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug runs fine, Release crashes!

Status
Not open for further replies.

StukA

Programmer
Apr 11, 2001
115
0
0
US
I added some multi-threading code to an application (to keep the UI from "freezing" while processing a serial read), and the Debug version runs fine, but the Release version (which worked fine w/o the multi-threading code), crashes instantly when I hit the button that calls the code. Any idea what could be causing this?
 
Well, this may help, may not, but sometimes I have to staticly link my dlls on the settings menu.
 
Hi

One possible reason is that you forget to do some data initialization. The Debug version does some data handling for you ( as data init) but not the release version.

HTH

Thierry

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top