Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Compiler error C2664 with preprocessor directive _UNICODE

Explorer ,
Feb 23, 2016 Feb 23, 2016

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
342
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation