Click here to Skip to main content
15,921,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Release Mode EXE shows error ? Pin
S. Senthil Kumar10-Oct-05 2:26
S. Senthil Kumar10-Oct-05 2:26 
GeneralRe: Release Mode EXE shows error ? Pin
Amarelia10-Oct-05 2:52
Amarelia10-Oct-05 2:52 
GeneralRe: Release Mode EXE shows error ? Pin
S. Senthil Kumar10-Oct-05 3:08
S. Senthil Kumar10-Oct-05 3:08 
GeneralRe: Release Mode EXE shows error ? Pin
Amarelia10-Oct-05 18:51
Amarelia10-Oct-05 18:51 
AnswerRe: Release Mode EXE shows error ? Pin
kakan10-Oct-05 2:29
professionalkakan10-Oct-05 2:29 
GeneralRe: Release Mode EXE shows error ? Pin
Amarelia10-Oct-05 19:44
Amarelia10-Oct-05 19:44 
GeneralRe: Release Mode EXE shows error ? Pin
kakan11-Oct-05 21:16
professionalkakan11-Oct-05 21:16 
GeneralRe: Release Mode EXE shows error ? Pin
kakan12-Oct-05 19:25
professionalkakan12-Oct-05 19:25 
Good morning.
The calling address is way too high for the program.
My guess is that your program is calling a pointer to a function. And the contents of that pointer is uninitialized.
There is a difference between debug and release builds when it comes to allocating memory.
In a debug build, the allocated memory area is filled with nulls.
In a release build, it isn't.
I'm not sure, though, what allocation functions that does this.

My advice to you, now, is to use the good old printf debug, but to save it's output to a file.

For instance, paste this code in your program before and after the suspected code:

{
FILE *debugfile = fopen("C:\\MyDebugFile", "wt");
if(debugfile != NULL) {
fprintf(debugfile, "In file %d, at line %d.\n", __FILE__, __LINE__);
fclose(debugfile);
}
}

When your program takes a dive, read the file to see how far it got before the error. Then, put in some more debugging code until you can pinpoint the problem.

That's the "good" old way of debugging a program.

Good luck.
Kakan
GeneralRe: Release Mode EXE shows error ? Pin
Amarelia12-Oct-05 19:53
Amarelia12-Oct-05 19:53 
GeneralRe: Release Mode EXE shows error ? Pin
kakan12-Oct-05 21:03
professionalkakan12-Oct-05 21:03 
AnswerRe: Release Mode EXE shows error ? Pin
John M. Drescher10-Oct-05 3:26
John M. Drescher10-Oct-05 3:26 
GeneralRe: Release Mode EXE shows error ? Pin
Amarelia10-Oct-05 18:53
Amarelia10-Oct-05 18:53 
GeneralRe: Release Mode EXE shows error ? Pin
normanS10-Oct-05 19:27
normanS10-Oct-05 19:27 
GeneralRe: Release Mode EXE shows error ? Pin
Amarelia10-Oct-05 19:54
Amarelia10-Oct-05 19:54 
GeneralRe: Release Mode EXE shows error ? Pin
normanS11-Oct-05 19:00
normanS11-Oct-05 19:00 
QuestionAccessing/Assigning data buffer from pointer Pin
billiam90410-Oct-05 2:02
billiam90410-Oct-05 2:02 
AnswerRe: Accessing/Assigning data buffer from pointer Pin
S. Senthil Kumar10-Oct-05 2:23
S. Senthil Kumar10-Oct-05 2:23 
GeneralRe: Accessing/Assigning data buffer from pointer Pin
billiam90410-Oct-05 4:12
billiam90410-Oct-05 4:12 
QuestionBruteforce and MD5 Pin
RedDragon2k10-Oct-05 0:47
RedDragon2k10-Oct-05 0:47 
AnswerRe: Bruteforce and MD5 Pin
kakan10-Oct-05 1:21
professionalkakan10-Oct-05 1:21 
QuestionTwo SDI windows Pin
The NULL Developer10-Oct-05 0:45
professionalThe NULL Developer10-Oct-05 0:45 
AnswerRe: Two SDI windows Pin
David Crow10-Oct-05 3:21
David Crow10-Oct-05 3:21 
AnswerRe: Two SDI windows Pin
Anonymous10-Oct-05 8:50
Anonymous10-Oct-05 8:50 
QuestionA real challenge for you !! (menu border) Pin
hatemtaleb10-Oct-05 0:01
hatemtaleb10-Oct-05 0:01 
AnswerRe: A real challenge for you !! (menu border) Pin
hatemtaleb10-Oct-05 2:58
hatemtaleb10-Oct-05 2:58 

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.