Path: utzoo!attcan!uunet!crdgw1!zephyrus!darweesh From: darweesh@zephyrus.crd.ge.com (Michael Darweesh) Newsgroups: comp.sys.mac.programmer Subject: Color PixMap, the Clut and Think C Problem Message-ID: <12464@crdgw1.crd.ge.com> Date: 5 Oct 90 17:54:15 GMT References: <61078@iuvax.cs.indiana.edu> <15524@reed.UUCP> <20912@well.sf.ca.us> <1990Oct3.212324.12977@axis.dsg.ti.com> <380@goya.dit.upm.es> Sender: news@crdgw1.crd.ge.com Organization: General Electric Corporate R&D Center Lines: 14 Well, I'm trying to make a nice color offscreen pixmap almost exactly as shown in Tech NOte #120, but with Think C 4.0.2. I have copied that sample code almost exactly. My problem is that on the line (in the tech note code) that has the comment "/* Clone it*/" ( "it" in reference to the CTabHandle involved in the HandToHand call on the same line), I get an Ivalue required error when compiling. I'm using prototypes and have the type-checking option selected in the Think C options although I don't think they should have much effect on this. When I remove the "&" from that line and try to compile, it works, but at run-time, I get and error (-111 or -113 I believe). Any help would be great. -Mike Darweesh weesh@crd.ge.com