Access violation at the end of the program

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

I got this str-r-r-range problem, at the end of my program I get an
access violation. Not, while the AV itself isn't a strange thig,
what's strange is WHEN i get it. It get it after the last RETURN is
executed. I mean, the program runs, and does exactly what it's
supposed to, but crushes at the very end of it. Using the debugger, I
found that after the cpoletion of it's last line, which is the exiting
"return" the execution jumps to some strange locatin, where all the
memory slots are full of ??, and that's when the exception pop-up
jumps.

The pop-up says: "The instruction at "0x00007478" referenced memory at
"0x00007478". The memory could not be "read".

Does anyone have any idea about "why" that could happen and how can I
fix it?
Also, if it would help, I could just post here the whole program, it's
not big, about 2 pages of text.

Thanks.

.



Relevant Pages