May 28th, 1999, 04:18 PM
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
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