Marshal a C# struct to C++ VARIANT
- by jortan
To start with, I'm not very familiar with the COM-technology, this is the first time I'm working with it so bear with me.
I'm trying to call a COM-object function from C#.
This is the interface in the idl-file:
[id(6), helpstring("vConnectInfo=ConnectInfoType")]
HRESULT ConnectTarget([in,out] VARIANT* vConnectInfo);
This is the interop…