about accessing PDF file, compile error.
-
I'm trying to read the context of a PDF file(such as reading the word following the cursor) and I used class wizard to add some header files (add class form Typelib ---> acrobat Access 3.0 Type Library<3.0>) to my project and include these header files in one .cpp file, but when compile, many compile error occurs. what I know is as follow: each header file imported include such line : " #import "C:\\Program Files\\Adobe\\Acrobat 10.0\\Acrobat\\plug_ins\\Accessibility.api" no_namespace " when I comment out this line and then compile, everything is OK, but I'm not sure is it OK to do so, by the way I'm searching what the *.api file and its function on google and baidu(another search engine) anyone who had read PDF file may help, I really appreciate your help. thanks.
-
I'm trying to read the context of a PDF file(such as reading the word following the cursor) and I used class wizard to add some header files (add class form Typelib ---> acrobat Access 3.0 Type Library<3.0>) to my project and include these header files in one .cpp file, but when compile, many compile error occurs. what I know is as follow: each header file imported include such line : " #import "C:\\Program Files\\Adobe\\Acrobat 10.0\\Acrobat\\plug_ins\\Accessibility.api" no_namespace " when I comment out this line and then compile, everything is OK, but I'm not sure is it OK to do so, by the way I'm searching what the *.api file and its function on google and baidu(another search engine) anyone who had read PDF file may help, I really appreciate your help. thanks.
-
Did you check the documentation[^]? Also, if you want help then you need to explain exactly what error(s) you see, we cannot guess what happens.
One of these days I'm going to think of a really clever signature.
thanks for your reply, I have read the document, but I am not sure how to access PDF files. the error is as follow: error C2011: 'IAccessible' : 'struct' type redefinition ... many this kind of error. the headers imported is a wrap of I* interface,for example CAccessible == IAccessible. CAccID == IAccID
-
thanks for your reply, I have read the document, but I am not sure how to access PDF files. the error is as follow: error C2011: 'IAccessible' : 'struct' type redefinition ... many this kind of error. the headers imported is a wrap of I* interface,for example CAccessible == IAccessible. CAccID == IAccID
-
It looks like you have duplicate definitions in one or more of your source files. Check which headers you are including.
One of these days I'm going to think of a really clever signature.