A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook programming from C++



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 25th 06, 05:46 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Olivier Langlois
external usenet poster
 
Posts: 10
Default Outlook programming from C++

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/Outlo..._with_cpp.html

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

  #2  
Old September 25th 06, 09:58 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Dan Mitchell
external usenet poster
 
Posts: 58
Default Outlook programming from C++

"Olivier Langlois" wrote in
ups.com:
http://www.olivierlanglois.net/Outlo..._with_cpp.html


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
  #3  
Old September 26th 06, 12:53 AM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Dan Mitchell
external usenet poster
 
Posts: 58
Default Outlook programming from C++

Dan Mitchell wrote in
.16:
http://support.microsoft.com/kb/q199870/


And there's more sample code in Q304894, 259298 (which also has a full
listing of the various #import tweaks needed), 220600, 260854, 241287,
260574, and probably more; those are just the ones from the first couple
of pages of kb search results for 'outlook c++'.

-- dan
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook programming Jerod Mills Outlook - General Queries 3 July 27th 06 05:17 PM
Outlook programming Jerod Mills Outlook and VBA 3 July 27th 06 05:17 PM
Outlook programming Jerod Mills Outlook - Using Forms 3 July 27th 06 05:17 PM
Choice of programming tool for Outlook programming [email protected] Outlook and VBA 4 July 13th 06 11:48 AM
Programming OUTLOOK ARCHIVE location BMP Outlook and VBA 2 May 11th 06 06:43 PM


All times are GMT +1. The time now is 07:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.