Installing AtcgCommon.dll

AtcgCommon.dll can optionally be installed to add capabilities allowing ATCG to interact with windows or forms outside of the control of Jade (including common dialogs; for example, CMDFileOpen).

AtcgCommon.dll comes precompiled but also includes the source files, if required.

AtcgCommon.dll is included in the files that you downloaded from the JADE-ATCG link at https://github.com/jadesoftwarenz.

To install AtcgCommon.dll

  1. Copy the content of the bin folder located in the ATCG folder to the bin folder of your Jade installation.

  2. If using ATCG over a remote thin client, copy the content of the bin folder located in the ATCG folder to the bin folder of the thin client.

To test if AtcgCommon.dll is working, try the following example.

vars
api: AtcgAPI;
begin
create api transient;
write api.demoAddNumbers(10,15);

Another example is using AtcgCommon.dll to close a Notepad window, as shown in the following example.

vars
api: AtcgAPI;
begin
create api transient;
api.closeWindowsLike("Untitled - Notepad", "");

Nothing in the supplied Erewhon example uses AtcgCommon.dll.