Call IMAPIPROP method from c#

L

lorenzo

I'm trying to invoke OpenProperty Method on the mapiobject, member of
MailItem.
The problem is that mapiobject is not a com object.
I can obtain a com interface through the correct GUID but it seems no
member is accessible.
The HrGetOneProp function helps to access some property but the
OpenProperty is necessary.
I know that it's possible to create a c++ wrapper but i would like to
use only c# code.
Thank you
 
Joined
Jun 24, 2005
Messages
1
Reaction score
0
lorenzo said:
I'm trying to invoke OpenProperty Method on the mapiobject, member of
MailItem.
The problem is that mapiobject is not a com object.
I can obtain a com interface through the correct GUID but it seems no
member is accessible.
The HrGetOneProp function helps to access some property but the
OpenProperty is necessary.
I know that it's possible to create a c++ wrapper but i would like to
use only c# code.

I am very much interested in knowing this too. If you end up discovering the solution elsewhere, please post a response to this so I can learn too. :)

Brad.
 

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