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