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.
North America
Europe, Middle East and Africa
Asia Pacific