|
-
May 28th, 1999, 04:18 PM
#1
C++ COM MS Outlook object
Hi,
I'd like to access the data in my local Outlook address book. It seems as though Microsoft has an Outlook COM object that provides this functionality. However, all the samples are in VB. I've identified the Outlook object on my machine as msoutl8.olb. I've been trying to import this object into my C++ COM client with the "#import" statement. Visual C++ 6.0 creates the .tlh and .tli files for the object but then can't succesfully compile the .tlh file. ???? Can anyone recommend a better way to access the Outlook object using Visual C++? The MSDN documentation makes it look simple in VB but lacks any info on C++ access to the object.
Thanks,
Mark
-
May 28th, 1999, 04:32 PM
#2
Re: C++ COM MS Outlook object
This is off the top of my head, but I think I am correct. Check out the sample in the MSDN on how to automate Excel and Word using C++. I believe you also have to #import an office dll first before you can do something like Excel and Word. I am assuming that Outlook is the same.
Wayne
-
May 31st, 1999, 12:20 AM
#3
Re: C++ COM MS Outlook object
I haven't used the Outlook COM object but have done this using MAPI COM object.
MAPI exposes lots of interfaces which allow u to start a new Outlook (or any mail client) session.
Interface IAddrBook will be of your interest.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|