• CAMAPI
  • API Documentation
Show / Hide Table of Contents
  • Supported programming languages
    • C#
    • Delphi
    • C++
  • Tutorial lessons
    • Lesson 1 - general introduction to the extension ideology using the example of a C# project
    • Lesson 2 - connecting the SDK to a Delphi project using the build system
    • Lesson 3 - connecting the SDK to a C++ project using the build system
    • Lesson 4 - demonstration of methods for unloading an extension during main application is running
    • Lesson 5 - Creating a custom operation
    • Lesson 6 - Creating a C# application to interact with geometry in main application
    • Lesson 7 - Creating a C# application to connect to main application for managing it
  • System extensions
    • Extension.Util.Common.Dll
    • Extension.Util.Common.Exe
  • Debugging of extensions
    • Debugging a .NET extension using Visual Studio Code
    • Debugging a Delphi extension using RAD Studio
    • Debugging a C++ extension using Visual Studio
  • Entry points
    • Utilitiy in main form
    • Executor for utility in main form
    • New item to the operation's context menu
  • Machining Tools Import
    • Preparing the environment
    • Working with the tool library
    • Working with cutting tools
      • Milling Tools
      • Turning Tools
      • Custom Axial Shaped Tools
    • Working with the tool holder
  • API Documentation
  • External applications
    • Connecting in a C# application
    • Connecting in a Delphi application
    • Connecting in a C++ application

System extension Extension.Util.Common.Dll

The extension is designed for loading DLL files. It can load both native DLLs (written in C++ and Delphi) and managed DLLs (written in C#).

  • Entry point - utility_runner;
  • Implemented interface - IExtensionUtilityRunner.

The DLL is analyzed to determine whether it is managed. If it is native, the method CreateInstanceOfExtension is called with the GUID specified in the utility settings (in the configurator), and it is expected to return an object of the IExtensionUtility interface.

If the called DLL is managed, it is analyzed to find the CAMAPI namespace. If this namespace is found, it should contain a ExtensionFactory class that implements the IExtensionFactory interface. An instance of this class will be created. Then, the IExtensionFactory.Create method will be called with the GUID, as there may be multiple utilities within a single DLL.

In this article
Back to top Generated by DocFX