MantisBT - IGSTK
View Issue Details
0006396IGSTKIGSTKpublic2008-02-20 15:422008-04-14 15:16
Andinet 
Patrick Cheng 
normalmajorN/A
closedfixed 
0006396: Serial communication doesn't work with the release mode
 Serial communication doesn't work with the release mode

Reported by: Patrick Cheng
No tags attached.
Issue History
2008-02-20 15:42AndinetNew Issue
2008-02-20 15:42AndinetStatusnew => assigned
2008-02-20 15:42AndinetAssigned To => Patrick Cheng
2008-04-14 15:16Patrick ChengStatusassigned => closed
2008-04-14 15:16Patrick ChengNote Added: 0011289
2008-04-14 15:16Patrick ChengResolutionopen => fixed

Notes
(0011289)
Patrick Cheng   
2008-04-14 15:16   
the return value of serialComm->OpenCommunication(), m_ReturnValue is not initialized (In OpenPort success, it forgot to set the variable to be SUCCESS). DEBUG version of the runtime library will initialize the memory to known value, but RELEASE won't do that. That's why it works under Debug but not Release .