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

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. 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?

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. 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.

  4. 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

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

    1 project | news.ycombinator.com | 13 Jul 2021
  • Recommendation for software to aid with creating a C# wrapper around a c++ library

    2 projects | /r/csharp | 22 Jun 2022
  • Building PicoSSG: 'Just Enough Code'

    7 projects | dev.to | 16 May 2025
  • How I Learned Generative AI in Two Weeks (and You Can Too): Part 3 - Prompts & Models

    1 project | dev.to | 14 May 2025
  • Decoding Tree-sitter Playground Output For Fun

    1 project | dev.to | 9 May 2025