Click here to Skip to main content
15,919,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to close file in C++? Pin
Richard MacCutchan19-Dec-19 21:56
mveRichard MacCutchan19-Dec-19 21:56 
QuestionDo "setw(offset) " BEFORE cout ? Pin
Vaclav_18-Dec-19 4:22
Vaclav_18-Dec-19 4:22 
AnswerRe: Do "setw(offset) " BEFORE cout ? Pin
Richard MacCutchan18-Dec-19 4:56
mveRichard MacCutchan18-Dec-19 4:56 
AnswerRe: Do "setw(offset) " BEFORE cout ? Pin
leon de boer18-Dec-19 5:19
leon de boer18-Dec-19 5:19 
GeneralRe: Do "setw(offset) " BEFORE cout ? Pin
Vaclav_19-Dec-19 17:26
Vaclav_19-Dec-19 17:26 
GeneralRe: Do "setw(offset) " BEFORE cout ? Pin
Richard MacCutchan19-Dec-19 21:50
mveRichard MacCutchan19-Dec-19 21:50 
AnswerRe: Do "setw(offset) " BEFORE cout ? Pin
CPallini18-Dec-19 10:43
mveCPallini18-Dec-19 10:43 
GeneralRe: Do "setw(offset) " BEFORE cout ? Pin
Vaclav_19-Dec-19 17:14
Vaclav_19-Dec-19 17:14 
QuestionLoadString Pin
Member 1450258316-Dec-19 23:36
Member 1450258316-Dec-19 23:36 
AnswerRe: LoadString Pin
Daniel Pfeffer16-Dec-19 23:44
professionalDaniel Pfeffer16-Dec-19 23:44 
AnswerRe: LoadString Pin
Richard MacCutchan16-Dec-19 23:47
mveRichard MacCutchan16-Dec-19 23:47 
QuestionLoadImage Failure Pin
ForNow15-Dec-19 14:17
ForNow15-Dec-19 14:17 
AnswerRe: LoadImage Failure Pin
leon de boer15-Dec-19 20:30
leon de boer15-Dec-19 20:30 
GeneralRe: LoadImage Failure Pin
ForNow16-Dec-19 1:25
ForNow16-Dec-19 1:25 
GeneralRe: LoadImage Failure Pin
leon de boer16-Dec-19 4:07
leon de boer16-Dec-19 4:07 
GeneralRe: LoadImage Failure Pin
ForNow16-Dec-19 4:36
ForNow16-Dec-19 4:36 
GeneralRe: LoadImage Failure Pin
leon de boer16-Dec-19 22:35
leon de boer16-Dec-19 22:35 
GeneralRe: LoadImage Failure Pin
Richard MacCutchan15-Dec-19 21:36
mveRichard MacCutchan15-Dec-19 21:36 
Questionproblem when run the application using cntrl+F5. Wintech OPC DLL Pin
Member 1467670615-Dec-19 0:52
Member 1467670615-Dec-19 0:52 
SuggestionRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
Richard MacCutchan15-Dec-19 2:54
mveRichard MacCutchan15-Dec-19 2:54 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
ForNow16-Dec-19 1:03
ForNow16-Dec-19 1:03 
AnswerRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
leon de boer15-Dec-19 20:39
leon de boer15-Dec-19 20:39 
Most likely your code relies on a variable being zero or a BOOL false which you haven't specifically set to zero/false.

Look at all your variables which require a preset zero value and make sure you set them.

When you run in debug mode because it is going to display things it first zeros all variables, that does not happen when you run in normal mode.

This for example will print 0 in debug F5 mode but could print anything in normal ctrl-F5 mode because i is not set
int i;
printf("i = %i\n", i);

In vino veritas

GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
Stefan_Lang16-Dec-19 4:35
Stefan_Lang16-Dec-19 4:35 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
leon de boer17-Dec-19 2:45
leon de boer17-Dec-19 2:45 
QuestionDIrectX9 error shows up only in debugger Pin
Member 953078713-Dec-19 5:50
Member 953078713-Dec-19 5:50 

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.