Adobe SDK XI, I am unable to get wxPlugin samples project to compile.

Having trouble with the ADOBE SDK XI WxPlugin sample. I implemented the instructions in the Documentation pertaining to 'Description of the sample.  What should be the wx (Linker-> input-> Additional Dependencies) libraries?  In other words, what should replace wxbase28d.lib and wxmsw28d_core.lib?

Compile error below show:

1 >-build started: project: wxPlugin, Configuration: Debug Win32 -.

1 > wxPlugin.cpp

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(38 xi): error C2664: 'CreateDialogParamW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(69 xi): error C2664: 'CreateFontW': cannot convert parameter 'LPCTSTR' 14 to "LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(95 xi): error C2664: 'CreateWindowExW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(111 xi): error C2664: 'LoadMenuW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(311 xi): error C2664: 'LoadIconW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(324 xi): error C2664: 'LoadBitmapW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\program files (x 86) \microsoft visual studio 11.0\vc\include\xkeycheck.h(215): warning C4005: 'return': macro redefinition

1 > c:\users\volvera\downloads\acrobat xi sdk\version 1\pluginsupport\headers\api\corcalls.h(707): see the previous definition of the «back»

1 > c:\program files (x 86) \microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error: the C++ Standard Library banned macroizing keywords. Activate WARNING C4005 find the forbidden macro.

1 > wxPluginInit.cpp

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(38 xi): error C2664: 'CreateDialogParamW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(69 xi): error C2664: 'CreateFontW': cannot convert parameter 'LPCTSTR' 14 to "LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(95 xi): error C2664: 'CreateWindowExW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(111 xi): error C2664: 'LoadMenuW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(311 xi): error C2664: 'LoadIconW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\users\volvera\documents\adobe\acrobat sdk\version 1\nonadobesupport\wxwidgets\win\include\wx\msw\winundef.h(324 xi): error C2664: 'LoadBitmapW': cannot convert parameter 2 'LPCTSTR' to 'LPCWSTR.

1 > advanced types are not related. conversion requires reinterpret_cast, C style cast or function-style cast

1 > c:\program files (x 86) \microsoft visual studio 11.0\vc\include\xkeycheck.h(215): warning C4005: 'return': macro redefinition

1 > c:\users\volvera\downloads\acrobat xi sdk\version 1\pluginsupport\headers\api\corcalls.h(707): see the previous definition of the «back»

1 > c:\program files (x 86) \microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error: the C++ Standard Library banned macroizing keywords. Activate WARNING C4005 find the forbidden macro.

1 > Code generation...

= Build: 0 succeeded, 1 failed, to date, 0 0 was ignored.

I found the answer. In "Property Pages" under "C/C++" "Preprocessor Definitions" Add UNICODE. Came across another indefinite definition where I had to add _XKEYCHECK_H.  This occurred in ADOBE SDK XI by using VS2012. See the image below and note the last two DEFs. Problem solved.

Tags: Acrobat

Similar Questions

Maybe you are looking for

  • Text your ceased to work on the iPhone 6.

    I have a tone custom for text messages I've had for several years. It suddenly stopped working and I cannot understand why. The strange thing is that it works normally in iTunes on my computer and it is synced on my phone. In fact, other custom text

  • I have used FireFox for Linux. No problem, works fine, but I also use FireFox to watch fles .jpg. Now, it does not work.

    I use Firefox to watch files .jpg, worked last week, so I clicked a button to FireFox update, and now it does not work.

  • Google Desktop Gadgets / Windows supports

    Two questions: Suddenly one of my desktop gadgets disappeared (I did no change) and, to make things worse, I can not access the desktop gadgets in the Panel or online. I tried to restart the computer. Can anyone offer advice, please? I tried to ask f

  • Need help with table 2D

    Hi all I work with a 2D array that stores numerical values. Let me explain my problem with an example. Consider a 2D table as shown in the picture (input.png) attached. elements of the 2nd row are already present in the 1st row. How can I get a new 2

  • Pavilion DV7-3125sf buttons to quick launch DRIVER failed

    Hello recently I formatted my PC "HP pavilion Dv7-3125sf" because of hard drive problems now I'm on (Windows 7 Professional x 64) and I downloaded all the drivers and multimedia software of HP 'support & drivers '... everything is cool otherwise butt