Hello,
after every runtime error in our applications we get additional error message saying:
"The instruction at "0x0044ab7b" referenced memory at "0x00000000".
The memory could not be "read".
I was able to recreate error with Fivewin testmdi6 (slightly modified, code attached) sample. Just press button on buttonbar and You will get normal runtime error and this memory error after this.
Comment out creating 2-nd child and no memory read error after runtime
error message....
Using xHarbour (Jan 2007) and FWH 200612 builds, the same was with FWH 200609.
Any ideas?
Taavi.
////Test Code start
// Controlling MDI menus - Dynamically changing MDIChild windows menus
#include "FiveWin.ch"
static oWnd
//----------------------------------------------------------------------------//
function Main()
local oChild1, oChild2, oChild3
local oBar,x:=''
DEFINE WINDOW oWnd TITLE "Controlling MDI menus" MDI
DEFINE WINDOW oChild1 MDICHILD TITLE "First Child"
ACTIVATE WINDOW oChild1
//Comment out next 2 lines and no second errormessage after runtime error...
DEFINE WINDOW oChild2 MDICHILD TITLE "Second Child" // No Menu for this
ACTIVATE WINDOW oChild2
DEFINE BUTTONBAR oBar OF oWnd
DEFINE BUTTON OF oBar ACTION (x+1) //To generate runtime error...
ACTIVATE WINDOW oWnd
return nil
The instruction at "0x0044ab7b referenced memory at....
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: The instruction at "0x0044ab7b referenced memory at
Hi,EnricoMaria wrote:EMGCode: Select all
local oBar,x:=0//''
this was intentional, to generate runtime error...
Can You also see second screen with memory error?
Taavi.