I wrote COM class in C#, and one function like this : public void SignAttached( byte[] message, ref byte[] signedMessage, string userName = "USER" ) } when i try to call this function from C++ code i have exeption: - "SafeArray of rank 12536 has been passed to a method [...] read more
I'm trying to host the CLR inside my C++ application and I'm having problems invoking the entry point of the managed application. The entry point is defined as usual: static void Main(string[] args) And here's the actual C++ code: CComPtr<_MethodInfo> entryPoint; hr = assembly->get_EntryPoint(&entryPoint); // this works just fine if [...] read more