Reputation: 170489
While implementing my own IFilter I found that most likely some consumers will require marshalling from it. That is they QueryInterface() the IMarshal
interface from my object.
Proxy/stubs from MIDL can't be used - MIDL will not compile the filter.idl
file - the latter uses custom structures and MIDL doesn't know what to do with them. So it looks like I need to implement marshalling on my own.
Where can I find a guide and samples of how to implement marshaling?
Upvotes: 0
Views: 700
Reputation: 25738
Check out this CodeProject article:
http://www.codeproject.com/KB/COM/CustomMarshaling01.aspx
Upvotes: 1