COM or C++/CLI layer for long-term maintenance?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • CsWin32

    A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.

  • Would something like CsWin32 help?

  • cppcomponents

    Allows you to write binary components in C++11 that can be used across different compilers and standard libraries

  • You may find https://github.com/jbandela/cppcomponents useful. A portable C++11 library allowing COM components to be created from a C++ library. Note the portable, you can 100% make COM components on POSIX as well.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • CppSharp

    Tools and libraries to glue C/C++ APIs to high-level languages

  • I would give CppSharp a crack first. It generates a .net wrapper using pinvoke.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts