VC IDE and realtime enviroment?
Hi everyone,
I have very difficult trouble. My program is realtime, multithreaded ( VS 6.0, VC++, Win2000 Professional-Korean version). If I run program in IDE (run with VC++ Compiler), the program has no error. But If I build in Release Mode or Debug Mode, then run in real environment, program get crashes after about 1 to 2 days. Now I don't know how to fix it now. Thanks for any ideas. Do you know what is big diffirence(s) between IDE and real environment?
The error is in Korean, equivalent in English is:
Command at "0xXXXXXXXX" referenced memory at "0xXXXXXXX". The memory could not be read.
0xXXXXXXXX is differ from time to time, and command address is different from memory address.
I debugged by the way of this article throuh MAP file. But the 0xXXXXXXXX of command is out of MAP file range (for example command address is 0x24063fba" while maximum address in MAP file is 0x0044a1d6.
Some friend advised me to change the Design of Multithreads.
Thanks all.