I'd like to pass an IShellItemArray
to an out-of-process COM object residing within an exe. I'd prefer to use existing interfaces before creating my own, so I thought I'd try having the out-of-process object implement IShellExtInit
. Seemed like a good fit.
Anyway, it appears that attempting to create/query interface for IShellExtInit
fails for out-of-process COM servers. I found some additional evidence indicating that it's not possible because that particular interface lacks marshaling support.
Is there anything that can be done to fix that, short of defining my own similar interface (with the oleautomation
attribute)? Alternatively, are there any other existing generic interfaces, that work out of process, for passing an IShellItemArray
? Thanks for any info.