Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: large numbers Pin
Nelek15-May-07 21:53
protectorNelek15-May-07 21:53 
GeneralRe: large numbers Pin
locoone16-May-07 17:14
locoone16-May-07 17:14 
GeneralRe: large numbers Pin
Nelek19-May-07 23:03
protectorNelek19-May-07 23:03 
QuestionDebug vs Release Configuration Pin
Oliver12315-May-07 16:31
Oliver12315-May-07 16:31 
AnswerRe: Debug vs Release Configuration Pin
David Crow15-May-07 17:09
David Crow15-May-07 17:09 
GeneralRe: Debug vs Release Configuration Pin
Oliver12315-May-07 17:28
Oliver12315-May-07 17:28 
GeneralRe: Debug vs Release Configuration Pin
_AnsHUMAN_ 15-May-07 17:45
_AnsHUMAN_ 15-May-07 17:45 
GeneralRe: Debug vs Release Configuration Pin
dharani15-May-07 18:10
dharani15-May-07 18:10 
Hello

_AnShUmAn_ wrote:
A variable may have a different value in the release and in the debug build, causing the differing behaviour


Well , to add to it I say you most probably have a code optimization problem in the section of code which looks suspecious to you . You may find the values of variables in release by classical AfxMessageBox(value) displays . I have come across a situation where in release mode a string = "systarg" was represented in stack as "g|a|sys|t" which resulted in change of code flow . I did the following to solve it
Try this
add the following pramas around the section of code which looks problamatic
#ifndef _DEBUG
#pragma optimize("", off)
#endif

..... your code which works fine in debug

#ifndef _DEBUG
#pragma optimize("", on) // désactivation de toutes les optimisations
#endif

redindian

QuestionNeed help with Keyboard device drivers Pin
Willian Tell15-May-07 15:06
Willian Tell15-May-07 15:06 
QuestionProblem with serializing Propeties of an ActiveX Control [modified] Pin
TheInfernalCrow15-May-07 12:13
TheInfernalCrow15-May-07 12:13 
QuestionPlaySound() in Vista [modified] Pin
Ryan Sikma15-May-07 11:29
Ryan Sikma15-May-07 11:29 
AnswerRe: PlaySound() in Vista Pin
Hans Dietrich15-May-07 15:12
mentorHans Dietrich15-May-07 15:12 
GeneralRe: PlaySound() in Vista Pin
Ryan Sikma15-May-07 20:19
Ryan Sikma15-May-07 20:19 
QuestionHow to block joystick devices Pin
Michael Sadlon15-May-07 10:09
Michael Sadlon15-May-07 10:09 
QuestionSelect a Folder and get fullPath from all files it contains Pin
Immunity1815-May-07 8:52
Immunity1815-May-07 8:52 
AnswerRe: Select a Folder and get fullPath from all files it contains Pin
Dustin Henry15-May-07 9:03
Dustin Henry15-May-07 9:03 
GeneralRe: Select a Folder and get fullPath from all files it contains Pin
Immunity1815-May-07 9:05
Immunity1815-May-07 9:05 
GeneralRe: Select a Folder and get fullPath from all files it contains Pin
Immunity1815-May-07 9:11
Immunity1815-May-07 9:11 
GeneralRe: Select a Folder and get fullPath from all files it contains Pin
Dustin Henry15-May-07 9:27
Dustin Henry15-May-07 9:27 
GeneralRe: Select a Folder and get fullPath from all files it contains Pin
Immunity1815-May-07 9:28
Immunity1815-May-07 9:28 
QuestionLaunch another app within an app Pin
Jerry Burns15-May-07 7:03
Jerry Burns15-May-07 7:03 
AnswerRe: Launch another app within an app Pin
Rajesh R Subramanian15-May-07 7:08
professionalRajesh R Subramanian15-May-07 7:08 
AnswerRe: Launch another app within an app Pin
Hans Dietrich15-May-07 7:11
mentorHans Dietrich15-May-07 7:11 
GeneralRe: Launch another app within an app Pin
Jerry Burns15-May-07 7:39
Jerry Burns15-May-07 7:39 
GeneralRe: Launch another app within an app Pin
Hans Dietrich15-May-07 8:29
mentorHans Dietrich15-May-07 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.