471,336 Members | 1,234 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Call IMAPIPROP method from c#

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

Jul 21 '05 #1
1 2063

lorenzo Wrote:
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.
--
bpsmicroPosted from http://www.pcreview.co.uk/ newsgroup access

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Vijay Kumar | last post: by
9 posts views Thread by keith | last post: by
1 post views Thread by lorenzo | last post: by
5 posts views Thread by Stephen Barrett | last post: by
46 posts views Thread by Steven T. Hatton | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.