Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Developer Outlook Addins > _ApplicationPtr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1657 of 1746
Post > Topic >>

_ApplicationPtr pOutlook("Outlook.Application") crash at Outlook20

by =?Utf-8?B?U2lvayBQZW5n?= <Siok Peng@[EMAIL PROTECTED] > Mar 12, 2008 at 07:42 PM

hi,
   i try to get the Outlook version via MAPI call as follow:

   try{
       _ApplicationPtr pOutlook("Outlook.Application");  // crash
       LPCSTR pVersion = pOutlook->GetVersion();
   }
    catch (_com_error &e) {
    }

    Outlook 2003 can use the code without any problem. But it crashes my 
Outlook 2007. May I know why it is happen? May I get Outlook version via
any 
others method?

Regards,
Siok Peng
 




 1 Posts in Topic:
_ApplicationPtr pOutlook("Outlook.Application") crash at Outlook
=?Utf-8?B?U2lvayBQZW5n?=   2008-03-12 19:42:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 14:57:36 CST 2008.