Link to home
Start Free TrialLog in
Avatar of cost
cost

asked on

Opening an attachment

Hi

I'm trying to read a MAPI-attachment with VC4.2
I've read in the help "Opening an Attachment" and it says:

1. Call the message's IMessage::GetAttachmentTable method to access its attachment table.
2. Call HrQueryAllRows to retrieve all rows in the table.
3. For each row:
 a. Open the attachment by passing the attachment number represented in the PR_ATTACH_NUM etc....

What I wonder is how do I get PR_ATTACH_NUM out of the Rows in the table? I have found nothing about this in the helpfiles, nor have I found some sample code.

Hope you can help me

Regards,

Andreas
ASKER CERTIFIED SOLUTION
Avatar of strobert
strobert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial