It can be done:
- - obtain earlier SDK (shipped on Photoshop CDs)
- - older SDKs need PRAGMA_ALIGN_SUPPORTED workaround, with Carbon headers:
#if TARGET_API_MAC_CARBON
#undef PRAGMA_ALIGN_SUPPORTED
#define PRAGMA_ALIGN_SUPPORTED PRAGMA_STRUCT_ALIGN
#endif
...(before including Photoshop API headers)...
- - in your 'PiPL' resource, use a code descriptor with signature 'ppcb' instead of 'pwpc' (apparently same parameters)
- - "Carbonise" your code; link with CarbonLib
- - create an ordinary OS X "package" containing the Carbon build as a shared library (and optionally a bundled 'Classic' build, for versions of Photoshop running under Classic or OS 9).
Also note MPW can be used to build Carbon/Classic Photoshop (and Illustrator) plugins.
HTH
Toby
http://www.telegraphics.com.au/sw/
Disclaimer: This information comes with absolutely no warranty. I am not an ASN member and have not licensed or seen the 7.0 SDK.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (Darwin)
iD8DBQE9rXh5yNMJMdAhrrURAgnAAKCCXgeCB+a7/rm/7/4frROF2dm+5gCdEJlY
MClNs2uomRy4MQVyuiTBzWY=
=qLYC
-----END PGP SIGNATURE-----