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

Post Reply
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

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

Post 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?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply