Author Topic: Problem with DCL definitions after programming  (Read 2684 times)

0 Members and 1 Guest are viewing this topic.

lamarn

  • Swamp Rat
  • Posts: 636
Problem with DCL definitions after programming
« on: June 04, 2010, 03:27:44 AM »


Sometimes i have to reinstall my entire Autoca installation only to get rid of this message..  :ugly:
I am sure the dcl is in the supported search paths. With a re-install i dont have the problem.
What can cause this error?

Thanx in regard
Hans Lammerts
The Netherlands

(dialogbox after starting a routine with dcl..)
"Sematic errors in DCL file .... (all) ... C:\..\local settings\temp\$VL~~00x.dcl. See acad.dce for details"

Acad.dce details

====== DCL semantic audit of C:\DOCUME~1\412660\LOCALS~1\Temp\$VL~~004.DCL ======

Error in "vpt". (widget type = ** undefined **, key = "")
    Widgets of this type cannot have children.

Error in "vpt". (widget type = ** undefined **, key = "")
    Widgets of this type cannot have children.

Error in "vpt". (widget type = ** undefined **, key = "")
    Widgets of this type cannot have children.

Error in "vpt". (widget type = ** undefined **, key = "")
    Widgets of this type cannot have children.

Error in "vpt". (widget type = ** undefined **, key = "")
    Widgets of this type cannot have children.

Error. Widget named "column" is undefined.
Design is something you should do with both hands. My 2d hand , my 3d hand ..

kpblc

  • Bull Frog
  • Posts: 396
Re: Problem with DCL definitions after programming
« Reply #1 on: June 04, 2010, 03:55:18 AM »
I think the problem is on dcl file name. Do you use predefined file name or create it by (vl-filename-mktemp)?
Sorry for my English.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Problem with DCL definitions after programming
« Reply #2 on: June 04, 2010, 04:07:20 AM »
May help to post the DCL ..

... and who is writing the DCL ( which program )??
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

lamarn

  • Swamp Rat
  • Posts: 636
Re: Problem with DCL definitions after programming
« Reply #3 on: June 04, 2010, 04:32:32 AM »
Here an example of a lisp en dcl which give this error on my machine.
ps i compile all lisps to a vlx. Maybe this can cause errors.



Design is something you should do with both hands. My 2d hand , my 3d hand ..

kpblc

  • Bull Frog
  • Posts: 396
Re: Problem with DCL definitions after programming
« Reply #4 on: June 04, 2010, 02:26:41 PM »
try this dcl:
Code: [Select]
// RST * Railinfra Solutions*
vpt :dialog{label = "RST2010 - Viewport lock";
:column {
:boxed_column
{:row {
:button {label = "Switch selected";
alignment = left;
key = "S1";
width = 3;
is_default = true;
          }
}
:row {
          :button {label = "Lock All";
alignment = left;
key = "S2";
width = 3;
            }
}
:row {
:button {label = "Unlock All";
alignment = left;
key = "S3";
width = 3;
            }
}
}
}
:spacer { width = 2; }
:button {label = "Cancel";
key = "cancel";
is_cancel = true;
width = 4;
fixed_width = true;
}
}
Sorry for my English.