Requirement
ObjectARX, ObjectDBX, .NET, AutoLISP, VBA project, and DLL modules
Starting with AutoCAD 2014-based products, custom applications must work under secure mode; when the SECURELOAD system variable is set to 1 or 2. When operating under secure mode, the AutoCAD-based product is restricted to loading and executing files that contain code from trusted locations; trusted locations are specified by the TRUSTEDPATHS system variable. For more information, see About Security and Protecting Against Viruses in the AutoCAD product Help.
Your installer should update the list of trusted paths to ensure your applications load and work properly based on the current setting of SECURELOAD. The location of the trusted paths can be updated in the AutoCAD installation registry (the example shows English):
HKEY_CURRENT_USER Software Autodesk AutoCAD R24.0 ACAD-4101:409 Profiles <<Unnamed Profile>> Variables TRUSTEDPATHS