Page 1 of 1

trouble wit dcread in build 259

Posted: Fri Dec 27, 2013 4:15 am
by Koverhage
Hi Roger,

build 259 does not work (for me).

We use this form: progs are called from xppmenu
All Progs aborted with a error message.
See attached log.

Re: trouble wit dcread in build 259

Posted: Fri Dec 27, 2013 8:30 am
by rdonnay
It sounds like this may have something to do with the new MESSAGEBOXATTACHED feature of DCMENUBAR.

Please post your error log.

Re: trouble wit dcread in build 259

Posted: Fri Dec 27, 2013 10:01 am
by Koverhage
i thought that i has added the log to my previous post, but the extension log is not allowed.
Here is the xpperror zipped file.

The problem occurs at line 4442 in _dcdgetbx.prg

Re: trouble wit dcread in build 259

Posted: Fri Dec 27, 2013 10:44 am
by rdonnay
Klaus -

Please make the following change to \exp19\source\dclipx\_DCGETBX.PRG (Line 4441).

Then rebuild DCLIPX.DLL by running BUILD19_SL1.BAT

I am planning a build 260 release in January to fix any more regressions like this.

Code: Select all

WAS :

  ELSEIF (nEvent $ {xbeP_ItemMarked,xbeP_ActivateItem,xbeMENB_EndMenu} ;
         .AND. oXbp:isDerivedFrom('XbpMenuBar'))

IS :

  ELSEIF (nEvent $ {xbeP_ItemMarked,xbeP_ActivateItem,xbeMENB_EndMenu} ;
         .AND. oXbp:isDerivedFrom('DC_XbpMenuBar'))

Re: trouble wit dcread in build 259

Posted: Fri Dec 27, 2013 11:34 am
by rdonnay
Klaus -

After more testing, I realized that this is the change required, otherwise the MESSAGEBOXATTACHED clause will not work any more.

Code: Select all

  ELSEIF (nEvent $ {xbeP_ItemMarked,xbeP_ActivateItem,xbeMENB_EndMenu} ;
         .AND. IsMethod(oXbp,'handleMessage'))

Re: trouble wit dcread in build 259

Posted: Sat Dec 28, 2013 2:20 am
by Koverhage
Roger -

thank you for your great work.

I wish you a great 2014.