Has anyone seen this error on their systems. We get it several times a week randomly in several functions including xdot. It has happened on both Windows
7 and 10 machines. I cannot reproduce it and it does not log into my error tracker. This is all I get.
Roger Donnay has tried a few fixes to dclipx but it has not yet worked. Could it be a system memory issue?
Any input would be appreciated.
Thanks, Bob Volz
ERROR LOG of "C:\AUTOMANAds\AutoManAcctAds.exe" Date: 07/22/20 13:36:25
Xbase++ version : Xbase++ (R) Version 2.00.992
Operating system : Windows 7 06.01 Build 07601 Service Pack 1
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: O CLASS: DC_XbpMenuBar
-> VALTYPE: N VALUE: 14
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: Y
oError:cargo : NIL
oError:description : Error in array index
oError:filename :
oError:genCode : 4
oError:operation : :getItem
oError:osCode : 0
oError:severity : 2
oError:subCode : 1012
oError:subSystem : BASE
oError:thread : 2
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
(EVM Event Dispatcher)
Called from DRAWMENUBARITEM(5058)
Called from (B)DC_XBPMENUBAR:CREATE(4897)
Random Strange Error
Re: Random Strange Error
hi,
are you running a Thread
normal Menu ist just in Main but you seems to have a Menu in Thread 2
are you running a Thread

normal Menu ist just in Main but you seems to have a Menu in Thread 2

greetings by OHR
Jimmy
Jimmy
Re: Random Strange Error
Hi Jimmy; Most if not all of my functions are called off the main menu as new threads. But you may be on to something because all I ever use in these new threads would be Tool Bars not Menu Bars. I'm going to dig a bit deeper to see where I might use a menu bar.
Thanks for the input.
Bob Volz
Thanks for the input.
Bob Volz
Re: Random Strange Error
I made a change to the DC_XbpMenuBar class to try to trap those errors.
I gave you an updated DCLIPX.DLL.
Didn't that fix the problem?
If not, then please give me your latest xpperror.log.
Code: Select all
At line 5047 of _dcclass.prg, I changed this:
STATIC FUNCTION DrawMenubarItem( oDlg, oMbar, oPS, aInfo, oFont, oBitmap )
LOCAL aItem := oMbar:getItem( aInfo[1] )
LOCAL aSAttrs := Array( GRA_AS_COUNT )
LOCAL aAAttrs := Array( GRA_AA_COUNT)
LOCAL cStr, xItem, i, nY, nLen
to this:
STATIC FUNCTION DrawMenubarItem( oDlg, oMbar, oPS, aInfo, oFont, oBitmap )
LOCAL aItem
LOCAL aSAttrs := Array( GRA_AS_COUNT )
LOCAL aAAttrs := Array( GRA_AA_COUNT)
LOCAL cStr, xItem, i, nY, nLen
IF Empty(aInfo)
RETURN .f.
ENDIF
aItem := oMbar:getItem( aInfo[1] )
Didn't that fix the problem?
If not, then please give me your latest xpperror.log.
The eXpress train is coming - and it has more cars.