Author Topic: OpenDCL - Hello World  (Read 709 times)

Grrr1337

  • Member
  • *
  • Posts: 2
OpenDCL - Hello World
« on: May 28, 2021, 02:56:56 AM »
Hi guys,
Decided to try out OpenDCL for the first time:
So I've installed "OpenDCL.Studio.ENU.9.1.3.0.msi" successfuly and "OpenDCL.Runtime.9.1.3.0.msi" (not sure if it was installed).
Then I've created a new project - Untitled.odcl with a modeless dialog and two text buttons.
And unfortunately in my ACAD theres no dcl-Project-Import , nor any dcl-* function definition.

My current goal is to run an OpenDCL project from ACAD.

System specifications: Windows 8.1 Pro 64 bit, AutoCAD 2017

Any ideas how could I fix my problem?

(previously asked here)

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3059
    • Outside The Box
Re: OpenDCL - Hello World
« Reply #1 on: May 28, 2021, 07:35:46 PM »
OpenDCL Runtime does not load until you tell it to load by running the OPENDCL command. Just add (command "_OPENDCL") somewhere at the beginning of your lisp function to make sure OpenDCL Runtime is loaded.

Grrr1337

  • Member
  • *
  • Posts: 2
Re: OpenDCL - Hello World
« Reply #2 on: May 29, 2021, 07:37:17 AM »
Thanks Owen, now it worked! (Should I've looked earlier in the "Application Development" section of the documentation).

Gotta say that having modeless dialogs is awesome! (comming for vanilla DCL)