Page 1 of 1

dclipx rebuild error

Posted: Sun Jan 09, 2011 2:28 pm
by hz_scotty
Hi Roger

when i delete all OBJ from "obj19_sl1" and use the batch "build19_sl1.bat"
i get an ERROR in _DCARRAY.PRG - i think it was "RESERVED Keyword" by the line 684

Code: Select all

  
DCMENUITEM {||_MenuCaption(oTree)} ;
      ACTION {||_Properties(oTree)} ;
      PARENT oMenu
i found the "#command DCMENUITEM" in DCMENU.CH and in
DCDIALOG.CH "#xcommand DCMENUITEM" - is this possible and correct
in 2 .CH the same command?

when i but the #include "dcmenu.ch" in _DCARRAY.PRG the Error is gone (i don't know if this include was the right)
after success rebuild - i delete the #include "dcmenu.ch" in _DCARRAY.PRG and its works also :shock:

i don't know what the problem is - have you any information (or is it the double DCMENUITEM declaration)

Re: dclipx rebuild error

Posted: Sun Jan 09, 2011 3:21 pm
by rdonnay
I don't know why you are having this problem.

My _DCARRAY.PRG compiles just fine.

You should not use DCMENU.CH.
That appears to be a leftover from 10 years ago.

Attached is the latest version of _DCARRAY.PRG.