Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

For Adobe SDK XI, I'm unable to get wxPlugin project from samples to compile.

$
0
0

Having trouble with WxPlugin sample from ADOBE SDK XI. I've implemented the instructions from Documentation for "Sample Descriptions".  What should be wx libraries (Linker->Input->Additional Dependencies)?  In other words, what should replace wxbase28d.lib and wxmsw28d_core.lib?

Compile error show below:

1>------ Build started: Project: wxPlugin, Configuration: Debug Win32 ------

1>  wxPlugin.cpp

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

1>c:\program files (x86)\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 previous definition of 'return'

1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.

1>  wxPluginInit.cpp

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

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

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

1>c:\program files (x86)\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 previous definition of 'return'

1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.

1>  Generating Code...

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>