ComLightInterop 1.3.7
The library only supports IUnknown-based interfaces, it doesn’t handle IDispatch.
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 Core 2.1, 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.
Requires NuGet 3.4.4 or higher.
Install-Package ComLightInterop -Version 1.3.7
dotnet add package ComLightInterop --version 1.3.7
<PackageReference Include="ComLightInterop" Version="1.3.7" />
paket add ComLightInterop --version 1.3.7
#r "nuget: ComLightInterop, 1.3.7"
// Install ComLightInterop as a Cake Addin
#addin nuget:?package=ComLightInterop&version=1.3.7
// Install ComLightInterop as a Cake Tool
#tool nuget:?package=ComLightInterop&version=1.3.7
Release Notes
Support for custom methods prologue and errors marshaling. Enabled with [CustomConventions] attribute applied to COM interfaces.
That attribute only affects eMarshalDirection.ToManaged direction of marshalling; .NET objects exposed to C++ don’t use the feature.
Dependencies
-
.NETCoreApp 2.1
- No dependencies.
-
.NETFramework 4.7.2
- System.Buffers (>= 4.5.0)
- System.Memory (>= 4.5.3)
-
native 0.0
- No dependencies.
Used By
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ComLightInterop:
Package | Downloads |
---|---|
VrmacGraphics
Vrmac graphics engine
|
GitHub repositories
This package is not used by any popular GitHub repositories.