> I'm trying to port an OS9 app to Xcode as a Carbon application, but I
> can't get it to compile because Xcode's compiler doesn't even know what a
> CWindowRecord is. Where is this defined in Xcode? Including Carbon.h
> doesn't seem to do the trick.
This has nothing to do with Xcode; instead, it's a Carbon thing.
Windows are opaque in Carbon, so you no longer have direct access to
WindowRecords. Take a look at Carbon's MacWindows.h (press command-D in
Xcode, type "MacWindows.h", and press return), and you'll see the new
APIs that Carbon provides for working with windows.
-Eric

Signature
Eric Albert ejalbert@stanford.edu
http://rescomp.stanford.edu/~ejalbert/