FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour The memory could not be “read”. Click OK to terminate the pr
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
The memory could not be “read”. Click OK to terminate the pr
Posted: Thu Oct 18, 2007 05:27 AM

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)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
The memory could not be “read”. Click OK to terminate the pr
Posted: Thu Oct 18, 2007 09:15 AM

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

Continue the discussion