I have a VC++ 6.0 program on Windows 2000. I run my program in the debugger and it works fine. But when I start it by double clicking on its icon, after sometime I get an error message:
The instruction at "0x0042b1b5" referenced the memory at "0xcdcdcdcd". The memory could not be read.
This is not a consistent behavior, but the address "0xcdcdcdcd" is always the same. The crash happens very frequently. I know in the debug mode, Microsoft initializes non initialized pointers to "0xcccccccc". The address "0xcdcdcdcd" in the message does not seem like a random address. Any body has seen something like this before? Is there anything particular about this address?
The error message has the usual press OK to stop the progam or Cancel to debug, but pressing Cancel causes the process to exit and does not bring up the debugger.
The instruction at "0x0042b1b5" referenced the memory at "0xcdcdcdcd". The memory could not be read.
This is not a consistent behavior, but the address "0xcdcdcdcd" is always the same. The crash happens very frequently. I know in the debug mode, Microsoft initializes non initialized pointers to "0xcccccccc". The address "0xcdcdcdcd" in the message does not seem like a random address. Any body has seen something like this before? Is there anything particular about this address?
The error message has the usual press OK to stop the progam or Cancel to debug, but pressing Cancel causes the process to exit and does not bring up the debugger.