tags:

views:

33

answers:

1

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
What do you mean by "std marshaller"? The Automation marshaller or something else?
sharptooth
@sharp: yes, that one.
Hans Passant
Can I register the automation marshaller using CoMarshalInterface http://msdn.microsoft.com/en-us/library/ms678428(VS.85).aspx from the client side ?
Naveen
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