Registry Entry Applications load

#1
Dear forum members

We are in the process of making ARX plugins IRX compatible and use CMS 9.2.

On AutoCAD we have a registry entry in the Autodesk folder called "Applications". These are the autoload dll's.
With CMS I can not find such a folder.
In this way we load our loader (.dll) for our plugins. It works perfectly on AutoCAD. How can I do this on CMS?

Regentry Path for AutoCAD:
Computer\HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\Rxx.x\ACAD-xxxx:xxx\Applications

Re: Registry Entry Applications load

#2
Please refer the document from the document API.

.....
When IntelliCAD is installed, a directory named 'ApplicationPlugins' will be created on the same level as the icad.exe executable file. A new directory under this one MUST be created with a unique name. Perhaps the directory name could be your company name, or even just the name of the app it stores, but your application(s) MUST be in a subdirectory under the 'ApplicationPlugins' director.

In addition to your application(s), your unique directory must contain a file named
'PackageContents.xml'. This file has content simalar to the following:

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0">
<Components>
<ComponentEntry AppName="DotNetExamples" ModuleName ="DotNetExamples.dll">
</ComponentEntry>
</Components>
</ApplicationPackage>

....
Attachments
IntelliCAD_ApplicationPlugins.png
IntelliCAD_ApplicationPlugins.png (12.84 KiB) Viewed 4315 times
DemandLoadingDotNetApps.rar
(1022 Bytes) Downloaded 237 times

Re: Registry Entry Applications load

#3
QuanNguyen wrote:
Tue May 05, 2020 5:40 am
Please refer the document from the document API.

.....
When IntelliCAD is installed, a directory named 'ApplicationPlugins' will be created on the same level as the icad.exe executable file. A new directory under this one MUST be created with a unique name. Perhaps the directory name could be your company name, or even just the name of the app it stores, but your application(s) MUST be in a subdirectory under the 'ApplicationPlugins' director.

In addition to your application(s), your unique directory must contain a file named
'PackageContents.xml'. This file has content simalar to the following:

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0">
<Components>
<ComponentEntry AppName="DotNetExamples" ModuleName ="DotNetExamples.dll">
</ComponentEntry>
</Components>
</ApplicationPackage>

....
Thanks a lot for your reply.
Our Plugins are not dotnet. Its C++ Visual Studio ObjectARX.
How we have to load it for C++ IRX API? I couldnt read anything in the ICRX or IRX Api.
We would like to load our modules on IntelliCAD startup via Registry entry. (Like on BricsCAD or AutoCAD)

Solution B
https://knowledge.autodesk.com/support/ ... toCAD.html


Is this possible?