The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#32455 by devinder
Thu Jan 31, 2008 9:27 am
I apologize that this macro was not tested under updated DCAL which got posted to the net. We will issue the update shortly.

Thank you
#32587 by Jon C. Hubart
Mon Feb 04, 2008 4:42 pm
I am getting closer to a working version of this macro. The "DEBUG" compile now appears to complete successfully albeit with many warnings to replace "strncpy" with "strncpy_s" .

When I look at the Debug folder I see a Arrow.dll. I renamed this to Arrow.dmx. Is this correct or should a correct compile process create a dmx file?

I then run the renamed arrow.dmx in DC12.05 and it appears to load properly so I think I'm on the right path here. Without adjusting any settings I enter the points for an arrow. When the arrow is created it contains a string of text "WFFontName C:\DataCAD 12\ Devinder" Now that doesn't look right. :D

I then adjust the width, enter points and get similar results.

I turn on Fill Color and enter points and upon selecting the second point the file closes. DataCAD stays open.

I open a new file and turn on "Fill Color" then select "Color" but nothing happens.

When I switch to "RELEASE" the compilation fails unable to find ShortString.h. I believe I will need to hardcoding the path to this file. Is that correct?

EDIT
I bypassed hardcoding the path by copying the DDK files into the arrow folder. Now when I compile the "RELEASE" I get similar results to the "DEBUG" compile.
#32602 by devinder
Tue Feb 05, 2008 9:21 am

Who is online

Users browsing this forum: No registered users and 36 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984