ComLightInterop (nuget): 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.
Keywords: native|ComLightInterop|COM