Info
Version: | 2.0.0 |
Author(s): | const.me |
Last Update: | Monday, August 19, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Const-me/ComLightInterop |
NuGet Url: | https://www.nuget.org/packages/ComLightInterop |
Install
Install-Package ComLightInterop
dotnet add package ComLightInterop
paket add ComLightInterop
ComLightInterop Download (Unzip the "nupkg" after downloading)
Dependencies
native
No dependencies.
- System.Buffers(>= 4.5.0)
- System.Memory(>= 4.5.3)
No dependencies.
Tags
You can only use simple types in your interfaces: primitives, structures, strings, pointers, function pointers, but not VARIANT or SAFEARRAY.
This package targets 3 platforms, .NET framework 4.7.2, .NET 8.0, and VC++.
Unfortunately, VC++ is Windows only.
To build Linux shared libraries implementing or consuming COM objects, please add "build/native" directory from this package to C++ include paths.
For cmake see include_directories command, or use some other method, depending on your C++ build system, and compiler.
Keep in mind .NET assemblies are often “AnyCPU”, C++ libraries are not, please make sure you’re building your native code for the correct architecture.