OpenDCL Forums

OpenDCL => Deployment => Topic started by: Grrr1337 on May 28, 2021, 02:56:56 AM

Title: OpenDCL - Hello World
Post by: Grrr1337 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 (http://www.theswamp.org/index.php?topic=56767.msg604859#msg604859))
Title: Re: OpenDCL - Hello World
Post by: owenwengerd 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.
Title: Re: OpenDCL - Hello World
Post by: Grrr1337 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)