VC++ 5.0 MFC Memory Paging problem.I think!
Hi gurus,
I have been working on a project which involved many dialogs, classes and structures. So far so good, that is until now.
On exit of my program, it crashed with the standard error of "page fault". I narrow
it down to a structure , a small structure of only 15 byte of variables in total.
However, if i commented half the structure out, program runs perfectly. If I just add one extra byte in the above structure, program would crashed on exit.
Which seems to me like a memory paging problem....I think.
If indeed so, how do I increased the paging in MFC dialog environment.
If any of you knows or experienced similar problem, please help.
Thank you.
Re: VC++ 5.0 MFC Memory Paging problem.I think!
It's more likely to be caused by writing to the wrong bit of memory using a bad pointer. It also sounds like the operation may involve copying the suspect structure...
Dave