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

Photoshop SDK - Plug In - Release Mode

Participant ,
Sep 24, 2012 Sep 24, 2012

Copy link to clipboard

Copied

Hello,

I'm building a Plug In for Photoshop using the CS6 SDK for Windows (64 Bit on Windows 7, VS 2010).

I'm using optimizations which only work in "Release Mode".

In your samples I have only "Debug" mode.

How can I move into release mode?

Thanks.

P.S.

I saw the Dissolve sample code has "Release Mode" which really enabled the optimizations and yieleded a much faster code.

The question is, how different it is from other samples, namely, How could I reconfigure other samples into "Release Mode".

Thanks.

TOPICS
SDK

Views

1.1K

Translate

Translate

Report

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
Adobe
Community Beginner ,
Oct 29, 2012 Oct 29, 2012

Copy link to clipboard

Copied

LATEST

In the Visual Studio Configration Manage you have to create an configuration, call it "Release" and make sure that the settings of the Debug configuration are copied to the new configuration. Then you have to change the several properties of the new Release configuration so that it outputs a release instead of a debug version, e.g. changing the run time library from "Multithreaded-Debug" to "Multithreaded" and deactivating the debug information generation. You also need to remove the DEBUG preprocessor definition in various places.

All in all, it is a complex process, so it is better if you have a project that contains both debug and relase configurations and you compare the properties of both. Then you can see which things are activated in one configuration and not in the other.

Votes

Translate

Translate

Report

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