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

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

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
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
  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. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla 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 Code Retrieval for Claude Code from Scratch

    3 projects | dev.to | 18 Aug 2025
  • Ohm: A JavaScript library and PEG-based language for building parsers

    1 project | news.ycombinator.com | 26 Jul 2025
  • Show HN: Header-only GIF decoder in pure C – no malloc, easy to use

    2 projects | news.ycombinator.com | 23 Jul 2025

Did you know that C# is
the 11th most popular programming language
based on number of references?