Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

Problems upgrading filter project from VC6/PS SDK7 to VS2010/SDK13

$
0
0

Hi

 

I'm upgrading a filter project from VC6/SDK v7 to VC2010/SDK v13/CS6.  Starting off with 32bit, 64bit will come later.

 

It's been a long time since I last coded the plugin, so I'm a bit rusty, but slowly getting up to speed.

 

The project compiles OK, but for the life of me I can't get the plugin to appear in the menu in Photoshop.  I've compared our pipl.r file to a couple of sdk examples and apart from app name differences, the files are identical.

 

I've been through the entire project properties, everything matches with the sdk examples (except for Preprocessor Definitions > Inherited Values has _VC80_UPGRADE=0x0600., whereas SDK examples have _VC80_UPGRADE=0x0710).  Aside from the PluginMain() declaration/prototype, I haven't changed any code at this point (I need to get it to appear in the menu first).

 

Dumpin provides this (extract):

 

ordinal hint RVA      name

      2    0 00045E50 PluginMain = @ILT+7755(_PluginMain)

      1    1 0004554F _FilterProc@16 = @ILT+5450(_FilterProc@16)

 

Any advice/pointers/help to resolve this would be most appreciated.  My current thinking is to start with a working example (from the SDK), then replace the SDK code with our own.  BUT it would be easier/nicer to know why it's not appearing in the menu.

 

Also, the original plugin is a single .8bf file, that has 2 menu items.  To create 2 menu items, I created two .r files with their own pipl resource and 2 PIUtilities.r with their own resource IDs (one was 16000, the other 17000).  Is that the best way to have 2 menu items, or is it recommended to have 2 .8bf files?  Note that for the purpose of getting it to appear in the Filter menu, I've removed a menu option so it's 1 pipl per 8bf (incase that was the cause).

 

Thanks


Jamie


Viewing all articles
Browse latest Browse all 54282

Trending Articles



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