Re: memory instruction reference can't be read
- From: "Tim Ward" <tw2@xxxxxxxxxxxx>
- Date: Wed, 14 Mar 2007 10:18:03 -0000
"mmlab_js" <mmlabjs@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2FF4ECB3-5164-426B-A5C4-A387141585E0@xxxxxxxxxxxxxxxx
Hi,
Compiler:Visual C++ 6.0
In debug configuration, I can build the project and run it without error.
But in release configuration, I can build the project and run it.
When I click one button, the compiler shows:
"The instruction at "0x004022ff" referenced memory at "0x00000030". The
memory could not be read." What shall I do to solve this problem?
Thank you.
You have a bug in your code, which you will have to find and fix. You
already have some information about it - it hasn't manifested itself so far
in debug build, and whether it occurs in release build or not depends on how
the optimiser moves your code around - which gives you some clues as to what
sort of bug it might be.
An uninitialised variable could do this ... but so could dozens of other
things.
--
Tim Ward
Brett Ward Limited - www.brettward.co.uk
.
- Prev by Date: What does the .APS file do?
- Next by Date: Drag and drop between two tree controls
- Previous by thread: What does the .APS file do?
- Next by thread: Re: memory instruction reference can't be read
- Index(es):