How to fix the build error error C1189: #error PS SDK CS6 VS2013 SampleCode/SimpleFormat plugin?

I inherited a format Photoshop CS6 plugin developed for my business.  This plugin was modeled on SimpleFormat project located in the adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat folder.

I think that the plugin was developed originally in Visual Studio 2010, and then covers the Visual Studio 2012 on the same machine.

The solution/project now compiles in Visual Studio on the original machine 2012.  The toolset of the General project properties platform has the Windows7.1SDK value on the original machine.

I have a brand new laptop.  I just installed Visual Studio 2013.  I pulled the solution of our depot and opened in Visual Studio 2013.  I answered Yes when asked if I wanted the 2012-2013 port project.  The project Properties General platform toolset prepares to Visual Studio 2013 (v120).

When I build the project, I get error C1189 several: #errors.

I also tried the generation of the example of SimpleFormat in 2013 and also get the error C1189 errors.

Error3error error C1189: #error: the C++ Standard Library banned macroizing keywords. Activate WARNING C4005 find the forbidden macro. (.. \Common\SimpleFormatScripting.cpp)c:\Program files (x 86) \microsoft visual studio 12.0\vc\include\xkeycheck.h2501SimpleFormat
Error6error error C1189: #error: the C++ Standard Library banned macroizing keywords. Activate WARNING C4005 find the forbidden macro. (..-..-.. \common\sources\PIWinUI.cpp)c:\Program files (x 86) \microsoft visual studio 12.0\vc\include\xkeycheck.h2501SimpleFormat

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

1 > compilation PiPL resource...

1 > Microsoft (R) C / C++, optimization of the compiler Version 18.00.21005.1 for x 86

1 > copyright (C) Microsoft Corporation.  All rights reserved.

1 >

1 > SimpleFormat.r

1 > CnvtPiPL. Version 13.0, October 25, 2011 18:03:33.

1 > copyright 1992-2010 Adobe Systems Incorporated.

1 > all rights reserved.

1 > SimpleFormat.cpp

1 > SimpleFormatScripting.cpp

1 > SimpleFormatUI.cpp

1 > FileUtilities.cpp

1 > FileUtilitiesWin.cpp

1 > PIDLLInstance.cpp

1 > PIUSuites.cpp

1 > PIWinUI.cpp

1 > c:\program files (x 86) \microsoft visual studio 12.0\vc\include\xkeycheck.h(197): warning C4005: 'false': macro redefinition (.. \Common\SimpleFormatScripting.cpp)

1 > c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(224): see previous definition of 'false '.

1 > c:\program files (x 86) \microsoft visual studio 12.0\vc\include\xkeycheck.h(232): warning C4005: 'true': macro redefinition (.. \Common\SimpleFormatScripting.cpp)

1 > c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(220): see previous definition of 'true '.

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

1 > c:\program files (x 86) \microsoft visual studio 12.0\vc\include\xkeycheck.h(197): warning C4005: 'false': macro redefinition (..-..-.. \common\sources\PIWinUI.cpp)

1 > c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(224): see previous definition of 'false '.

1 > c:\program files (x 86) \microsoft visual studio 12.0\vc\include\xkeycheck.h(232): warning C4005: 'true': macro redefinition (..-..-.. \common\sources\PIWinUI.cpp)

1 > c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(220): see previous definition of 'true '.

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

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

Warnings are annoying, but you should be ok now.

Tags: Photoshop

Similar Questions

  • How to fix the below errors event-7001

    How to fix the below errors event-7001. Because my PC Win7 OS frozen when start as msg 'Welcome '.
    The computer browser service depends on the Server service which failed to start because of the following error:
    The dependency service or group was able to start. Event ID is 7001.

    Hello

    Try to fix this problem by doing this

    1. Open the Device Manager.
    2. On the view menu, click to select the check box Show hidden devices .
    3. Double-click drivers Non Plug-and-Play.
    4. Double-click NetBIOS over TCP/IP.
    5. In the use of the device box, click use this device (enabled).

    Hope this helps

    James

  • How to fix the script error message: can not find script file "C:\program files (x 86) \uninstall scripts\creative cloud enterprise\install.wsf»

    How to fix the script error message: can not find script file "C:\program files (x 86) \uninstall scripts\creative cloud enterprise\install.wsf»

    Behalf of the company

    Packer links https://forums.adobe.com/thread/1586021

    http://forums.Adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • How to fix the problem error Creative Cloud applications download stand by me

    how to fix the problem download error Creative Cloud applications do not leave me

    Hello

    I think that you have found the "download error" in the Apps Panel.

    Please check the help below document:

    Download error in the applications tab of Creative Cloud Desktop Application

    You can also view the threads below:

    https://forums.Adobe.com/thread/1832357

    Persistent Cloud error - error download - creative

    Re: Creative Cloud "Download error" message

    Kind regards

    Sheena

  • How to fix the parse error "C:\Program Files (x 86) \HP\Digital Imaging 1 bin\hpqscbs\1033.xml?

    Original post: Parse error

    I get an error Parsing ' in the file C:\Program Files (x 86) \HP\Digital 1 bin\hpqscbs\1033.xml of Imaging.  How can I fix this, can someone help me?

    Hello

    1. have you connected printer? If Yes, what is the brand and model of the printer?

    2. Once you get the error message?

    3. you remember changes to the computer before the show?

    Method:

    Step 1: check the feature Safe mode.

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    If it works fine in safe mode, try to perform a clean boot by using step 2.

    Step 2: How to perform the clean boot.

    http://support.Microsoft.com/kb/929135

    NOTE: After you check the clean boot feature configure Windows to use a Normal startup using step 7 proposed in the above mentioned link.

                                                                                                   

    I hope this helps.

  • How to fix the 2343 error in Vista

    When I try to install programs on it I get the message no install Error 2343 contributions. How can I fix this error in Vista Ultimate 64-bit

    Hi graycat2,

    1. What is the full error message that you receive?

    2. did you of recent changes on the computer?

    3. you receive the error message when you install programs on the computer?

    4. do you have security software installed on the computer?

    Method 1

    Check and make sure that the Windows service install is running on the computer.

    (a) click on start tocollapse that includes this image, type services.msc in the Search box and click on OK

    (b) right click on the Windows Installer service and then click Properties.

    (c) if the box Startup type is set to Disabled, change it to Manual.

    (d) click on OK to close the Properties window.

    (e) right click on the Windows Installer service and then click Start. The service should start without errors.

    (f) click on the file menu, and then click exit.

    Method 2

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you place the computer in a clean boot state, and you try to install the program.

    To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

    I hope this helps!

    Halima S - Microsoft technical support.

  • How to fix the socket error 11001 Error 0x800ccc0d number

    Hello! any body can help me fix my windows mail error?

    I have problem in my windows mail! the word of error...

    The host 'info.mecbco.com' is not found.

    Account: * address email is removed from the privacy *, server 'info.mecbco.com', Protocol: POP3, Port: 110,.

    Secure | (SSL): No. Socket error 11001 error number: 0x800CCC0D

    Hello

    Thanks for posting your question on the Forums of community of Microsoft.
     
    The socket 11001 error occurs when there is failure to post a link to a server to a client through the Internet. This translates the user unable to access a particular site or FTP over the Internet service.

    There are many reasons why a user may receive the socket error. This could mean that there is a change in the host name or has been misspelled. Often, a firewall may block access to the server.

    I suggest you to disable the firewall or antivirus and see if it works.

    Reference:

    Enable or disable Windows Firewall

    Note: Turn off Windows Firewall might make your computer (and your network, if you have one) more vulnerable to damage caused by worms or hackers.

    Disable the anti-virus software

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    See also:

    Solve problems with Windows Mail
     
    I hope this helps.
  • How to fix the Blue error screen: 0x9f 3 image yk60x86.sys.typeO

    This error Stops my internet explore intermittently.

    It is listed in the fault bucket: 192723101

    Moved to windows.

    While waiting for a response (after have downloaded you the dump files) - try to update your Marvell Yukon network drivers.  The yk60x86.sys is part of the installation package driver driver for this device.

  • How to fix the runtime error that keeps the appearance?

    Whenever I get on a website like Facebook or a gambling site it is said there is a runtime error and it will stop. I have to keep revisiting the sites. It is also said that there is a mistake in line___

    try to uninstall and reinstall IE8. but before you do, try to install another browser as backup...
    I hope this helps... Good luck!
  • Muse-how Adobe fix the 500 error?

    Hello

    I get this error 500, when exporting to html format in Muse. It is said that Muse have problems of creating a code for one or more web fonts. Even after changing all fonts in the system fonts, I get the same message... which is unusual. Then, when I tried to use Arial for all text, I got the same message. Even for Muse Arial cannot generate the code? Is this a bug, and that I should wait for Adobe release another updated for Muse CC? Please can someone help with this unusual error. Thank you.

    Hello

    Please refer to the link below below that has the similar discussion.

    Could not generate code to activate one or several web fonts [Error 500].

    Kind regards

    Vivek

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • How to fix the After Effects error - it was not possible to analyze the shape of the mask on the Clipboard

    How can I fix the following error: it was not possible to analyze the shape of the mask on the Clipboard. I have this note when I opened in After effects.

    Mac OS X El Capitan 10.11.4 the end of 2013

    After effects CC 2015.2 version 13.7.2.3

    Thank you.

    Looks like your mask has too many paths of access or summits. Try to turn on caps lock shift before you open the ASP (project file) or before you launch AE. If this does not clear your Cache and preferences. If this does not resolve the problem, we need workflow details that let you to this error.

  • How to fix the error "insufficient data" in Acrobat Reader 11.0.04?

    How to fix the error "insufficient data" for Acrobat Reader 11.0.04?

    Hi Johnkel1524,

    Please visit: http://helpx.adobe.com/acrobat/kb/insufficient-data-image.html

    Also, try to update on 11.0.5 and check.

  • How to fix problem with error 1321. The installer has insufficien privileges to modify the file C:\Program Adobe 8.0\Resource\Linguistics\Providers\Proximity\can129.lex

    Error 1321. The installer has insufficien privileges to modify the file C:\Program Adobe 8.0\Resource\Linguistics\Providers\Proximity\can129.lex

    I also get error 1607 when you try to download a new driver for Xerox Travel scanner 100. HHHHHEEEEELLLLLPPPPPP!

    Hello

    1. did you of recent changes on the computer?

    2. when exactly you receive the 1321 error?

    3. do you have security software installed on the computer?

    See the article and try the steps mentioned to fix the 1321 error.

    Error 1321 or 1309 | Install | CS4, CS5 |

    http://kb2.Adobe.com/CPS/403/kb403915.html

    You may receive a "1607: unable to install InstallShield Scripting runtime" error message when you try to install the software in Windows XP

    http://support.Microsoft.com/kb/888019

  • How to solve the internal error 2753

    How to solve the internal error 2753

    This error relates to a problem installing Windows.
    When you try to install or update anything when the message appeared?

    If so, one thing you can try is this:
    -Click on start, select run... and type CMD into the DOS command prompt
    -Type regsvr32 vbscript.dll in command prompt and press ENTER.
    -You should see a message saying that DllRegisterServer in vbscript.dll successful, click OK

    Now you can try to reinstall the program/application/update.

    If not, can you give us some info on what you were doing when the error occurred?

Maybe you are looking for