Skip to main content
Participant
November 16, 2009
Question

64-bit plugin won't load

  • November 16, 2009
  • 1 reply
  • 667 views

Hi,

I have a plug-in that I've compiled in 32-bit and 64-bit versions, and the 32-bit version loads fine in Photoshop 32-bit, but the x64 version fails to load in Photoshop 64-bit.  I saw Jim Watters' thread about this, and added this to my .r file:

#if defined(_WIN64)
                CodeWin64X86 { "PluginMainCorrect" },

#else

...

but it still fails to load.  What do I do from here?  I've looked around but can't see any advice on how to track down problems with plug-ins that won't load.  Are there any diagnostic tools which I can use to get more information about why it won't load?

Thanks

            -Matthew

This topic has been closed for replies.

1 reply

Chris Cox
Legend
November 16, 2009

No diagnostics other than Photoshop itself.

Take a look at the 64 bit plugin examples in the SDK.  Most likely you missed something important (like defining a macro, or a linker setting).

Participant
November 21, 2009

Interestingly, the debug version works fine, just not the release version.  I have looked at the projects settings but found nothing significantly different between the two configurations.  Currently we're working around the problem by using the debug version.