can safearrays be passed across process boundaries through com objects ?
+2
A:
As long as you registered the marshaller for the interface, yeah, no problem. The std marshaller can do it.
Hans Passant
2010-10-12 23:28:38
What do you mean by "std marshaller"? The Automation marshaller or something else?
sharptooth
2010-10-14 07:33:12
@sharp: yes, that one.
Hans Passant
2010-10-14 07:45:45
Can I register the automation marshaller using CoMarshalInterface http://msdn.microsoft.com/en-us/library/ms678428(VS.85).aspx from the client side ?
Naveen
2010-10-14 20:03:51
No, that's what you *use* to marshal an interface. The marshaller is registered by setting the HKCR\Interface\{iid}\ProxyStubClsid32 registry key. The CLSID for the std marshaller is {00020424-0000-0000-C000-000000000046}. Have a look-see with Regedit.exe
Hans Passant
2010-10-14 20:12:49