Page 1 of 1

The memory could not be “read”. Click OK to terminate the pr

Posted: Thu Oct 18, 2007 5:27 am
by Ollie
When I exit my program sometimes, I get:

0x0046e633 referenced memory at 0x00000000 The memory could not be “read”. Click OK to terminate the program.

0x004577d6 referenced memory at 0x00164b70 The memory could not be “read”. Click OK to terminate the program.

I am sure all databases etc. are closed.

Microsoft says: This problem is caused by a file extension that contains more than 260 characters to the right of the period. The buffer overfills and causes the error message to occur. (http://support.microsoft.com/kb/267858) - This is CANNOT be my problem.

Has anyone come across this before?

Posted: Thu Oct 18, 2007 9:15 am
by Antonio Linares
Ollie,

Please place a MsgInfo() before the exit point of your main PRG just to check if the error happens before or after it