Marshalling Necessity?

Z

Zhenxin Li

I write an addin for Outlook and Word that will modify the text selection of
mail item. I get mail item object in one thread, and modify selection in
another thread, then I get access violation when I modify selection.

Is marshaling necessary under this scenario? A call to CoMarshalInterface
needed?

Thanks!
zxli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top