Skip navigation
Currently Being Moderated

IPMUnknown.h  generate error

Sep 13, 2012 1:35 AM

Hi

I want to create Indesign using SDK.

I do not Know how use SDK to create indesign document.

I read solutions.pdf and start using visual studio 2008 (vc++) to create indesign application.

To create Application refernce(instance) i am try below code

 

    #include "ISession.h"

    #include "IApplication.h"

 

    virtual IApplication *  QueryApplication()=0 ;

    ISession *  GetExecutionContextSession();

    IApplication application(GetExecutionContextSession()->QueryApplication());

when I compile my code it give many error related to  IPMUnknown.h, IDFactory.h,ShuksanID.h file like

 

\ipmunknown.h(57) : error C2061: syntax error : identifier 'PMIID'

\idfactory.h(78) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

\idfactory.h(81) : error C2061: syntax error : identifier 'PluginID'

\shuksanid.h(83) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

 

I include these .h file in my project from SDK.

I do not understand why these file give error and How remove these type error.

 

How use full SDK in my vc++ project instead of copy these .h file one by one in project ?

 

 

Thanks.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points