Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

On building Photoshop 7.0/Mac OS X plugins with pre-7.0 SDKs - post.asc (1/1)

3 views
Skip to first unread message

Toby Thain

unread,
Oct 17, 2002, 9:49:56 AM10/17/02
to
ZZZZ
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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-----

0 new messages