views:

142

answers:

1

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?

+1  A: 

Check out this CodeProject article:

http://www.codeproject.com/KB/COM/CustomMarshaling01.aspx

Kevin Dente

related questions