0
Compiler error C2664 with preprocessor directive _UNICODE
Explorer
,
/t5/acrobat-sdk-discussions/compiler-error-c2664-with-preprocessor-directive-unicode/td-p/8130945
Feb 23, 2016
Feb 23, 2016
Copy link to clipboard
Copied
Hello,
I am trying to receive unicode from a pdf, so I used the preprocessor directive _UNICODE in VC2013.
Now I have the following error in PImail.c:
\adobe\adobe\acrobat dc sdk\version 1\pluginsupport\headers\api\pimain.c(422): error C2664: 'int wsprintfA(LPSTR,LPCSTR,...)' : cannot convert argument 2 from 'const wchar_t [27]' to 'LPCSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Is there a solution for this ?
TOPICS
Acrobat SDK and JavaScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

