cppcomponents VS CsWin32

Compare cppcomponents vs CsWin32 and see what are their differences.

cppcomponents

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

CsWin32

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project. (by microsoft)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cppcomponents CsWin32
3 23
205 1,899
- 5.8%
0.0 9.3
almost 7 years ago about 1 month ago
C++ C#
Boost Software License 1.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cppcomponents

Posts with mentions or reviews of cppcomponents. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-30.
  • COM+ Revisited
    2 projects | news.ycombinator.com | 30 Jan 2022
    A few years back, I wanted to see what you could do if you really used modern C++ with the COM principles. This is what I came up with:

    https://github.com/jbandela/cppcomponents

    * There is no code generation or IDL files

    * Components implement IUnknown

    * You can have Constructors and static functions for C++ classes.

    * You can take std::vector, std::string, std::tuple as parameters and return them (even if you are using different compilers and standard libraries)

    * Cross-platform

  • COM or C++/CLI layer for long-term maintenance?
    3 projects | /r/cpp | 30 May 2021
    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.
  • Satya Das - CIB - ABI stable architecture for a C++ SDK - Meeting C++ online
    1 project | /r/cpp | 6 Apr 2021
    jbandela/cppcomponents: Allows you to write binary components in C++11 that can be used across different compilers and standard libraries (github.com)

CsWin32

Posts with mentions or reviews of CsWin32. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-18.

What are some alternatives?

When comparing cppcomponents and CsWin32 you can also consider the following projects:

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

ClangSharp - Clang bindings for .NET written in C#

ComLightInterop - Cross-platform COM interop library for .NET Core 2.1 or newer

SRWE - Simple Runtime Window Editor

pinvoke - A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.

Vanara - A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers.

terrafx.interop.windows - Interop bindings for Windows.

cheat-engine - Cheat Engine. A development environment focused on modding

Borderless1942 - Allows Battlefield 1942 to be borderless

FrostMemory - Basic RPM/WPM Library I wrote.

bluerain - BlueRain is a fully-featured, managed memory manipulation library written in C#