Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • DrawCirclesCommand

  • CustomEntity

  • CreateText

  • DrawTemporaryEntities

  • SelectObjects

  • DocumentCommands

  • GetClosestOsnap

  • DatabaseReactor

Note: Additional samples will be included in further updates.

...

C++ Modules - OdRxModule and CFxCommand
This is a short summary about how a C++ module can be created, compiled and loaded into the host appliaction. All necessary steps are based on DrawCirclesCommand.

  1. Java: Create a nativ method

  2. C++: Create a matching implementation

  3. Store the C++ implementation inside a shared library

  4. Create C++ module

  5. Load C++ module

  6. Compile the shared library and module with CMake

  7. Load the shared library with System.LoadLibrary()

  8. Call native method to load C++ module inside Java host application

1. C++ Modules - Java: Create a nativ method

...