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.
#28231 by David A. Giesselman
Fri Sep 21, 2007 3:34 pm
#72698 by dhs
Mon Nov 13, 2017 8:28 pm
Thanks Dave,

But I think you have answered regarding ExecAndWait, but I was asking about the parameters for ExecProg.

I have now realised that I can probably work out the parameters by looking at the UInterfaces file supplied with DCAL for Delphi, so expect that they are as follows:
FUNCTION ExecProg (path, prog, parameters : str255; ret : OUT integer) : integer;

As I noted, the above is what I expect, but could be wrong so would be grateful if you could correct me if required. Also, it is not clear to me what the last parameter (ret) is ... if it is a return code then what is the integer result of the function (which I would have assumed to be the return code)?

Thanks,
David H

p.s. thanks for the information on the WindowState values. I have had trouble finding these values in the past (and just settled on using 1 as it produced the desired result), and had only recently found them in one of your previous responses within this thread.

Who is online

Users browsing this forum: No registered users and 34 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