uses DPSCAD_TLB;
var
PCsApplication : IPCsApplication;
begin
PCsApplication := coApplication.Create();
end;
var
PCsApplication : IPCsApplication;
begin
PCsApplication := coApplication.Create();
end;
How to: Get connected to Automation |
Get connected to Automation
To establish a connection to Automation its necessary to add the file "Dpscad_TLB.pas" in your project uses-clause.
To get or create this file, see how to prepare for use.
To access projects, symbols, text etc. in Automation, you need to make this call
to get at variable to work from. When calling PCsApplication := coApplication.Create(); Automation will start up, if not allready started