I'm trying to create my first Windows filter plugin using the CS2 SDK Invert sample as a base.
The sample code about box does not work (plugin crashes, with an error in Photoshop):
AboutRecord * aboutRecord = reinterpret_cast<AboutRecord *>(gFilterRecord); | |
DoAbout(static_cast<SPPluginRef>(aboutRecord->plugInRef), AboutID); |
Having looked at other samples I have come up with nothing. I'm sure there is just something simple that is missng from the sample but I just cannot figure out what it is. I assume that AboutID should be somthing in the resource file but what? A string, a dialog?