Outlook programming from C++

  • Thread starter Thread starter Olivier Langlois
  • Start date Start date
O

Olivier Langlois

Hi,

I guess this is the most appropriate forum to make this announcement
since there is no outlook.program_c++ newsgroup and that fellow C++
programmers will most likely find themselves here when they will be
looking for Outlook programming resources.

Due to the lack of resources on how to program Outlook from C++, I have
decided to write a tutorial webpage on that topic. If you are
interested, you can find it at:

http://www.olivierlanglois.net/Outlook_Automation_with_cpp.html

Have a nice day!
Olivier Langlois
http://www.olivierlanglois.net
 
Olivier Langlois said:

Nice -- you might want to mention something about getting strings back
out of VARIANTs as well, and possibly something about how to cast
between CString/LPCTSTR/etc, there's the add/removing const-ness that
comes in there.

Also, there's how to do the #import stuff for various older versions of
Outlook at http://www.danielmitchell.net/mailfaq, Q5.1, and for outlook
2003:

#import "C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE11
\\MSO.DLL"
#import "C:\\Program Files\\Microsoft Office\\OFFICE11\\MSOUTL.OLB"
IMPPROPS

(though I hadn't seen your trick of importing by GUID rather than path,
that's very neat)

Oh and you should probably link to the KB article about this:

http://support.microsoft.com/kb/q199870/


-- dan
 
Back
Top