Solved

I would like to know where I can get the documentation of ,Microsoft Powerpoint API

Posted on 2009-04-06
3
175 Views
Last Modified: 2013-11-25
Hello experts,

I have a question in Powerpoint API. I am opening a powerpoint using COM programming as follows

    CComPtr<PowerPoint::Presentations> presentations;
/* pptApplication is already set to valid pointer */
hr = pptApplication->get_Presentations(&presentations);

    CComPtr<PowerPoint::_Presentation> thePresentation;
    hr = presentations->Open((BSTR)szFileName, msoTrue, msoFalse, msoTrue, &thePresentation);
/* thePresentation is returned as NULL for some test case*/
 BSTR szName;
    hr = thePresentation->get_Name(&szName);
/* szName is returned as NULL  for some test case */

I would like to know where I can get the documentation of these APIs. I have googled, but it did not get me any usefule links.I want to know if it is valid for these APIs to return NULL values under some conditions,which means I would need to check the validity of the pointers before using them.

Thanks and Regards,
Ramanan
0
Comment
Question by:ramanan_r
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:Mechanic_Kharkov
ID: 24075866
0
 
LVL 21

Accepted Solution

by:
GlennaShaw earned 125 total points
ID: 24079779
Developing COM Add-Ins for Microsoft Office
http://www.codeproject.com/KB/vb/ComAddins_VBNET.aspx

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article will show, step by step, how to integrate R code into a R Sweave document
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question