Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / December 2003



Tip: Looking for answers? Try searching our database.

Xcode -- Where Is CWindowRecord Defined (Carbon)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darel Finley - 26 Dec 2003 04:13 GMT
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.

Thanks in advance, and please CC your reply to <darel@alienryderflex.com>
or I may miss it!

Darel
Eric Albert - 26 Dec 2003 07:11 GMT
> 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/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.