Xref: utzoo comp.sys.mac.programmer:5603 comp.sys.mac:30048 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!toaster!wert From: wert@toaster.Sun.COM (Robert Scott Comer) Newsgroups: comp.sys.mac.programmer,comp.sys.mac Subject: Re: CopyBits in MPW C 3.0 Keywords: CopyBits , MPW C Message-ID: <98709@sun.Eng.Sun.COM> Date: 12 Apr 89 23:49:49 GMT References: <225@uw-apl.UUCP> Sender: news@sun.Eng.Sun.COM Reply-To: wert@sun.UUCP (Robert Scott Comer) Distribution: na Organization: Sun Microsystems, Mountain View Lines: 18 > The documentation in IM seems to indicate that CopyBits > should take bitmaps and pixmaps with no problem. > Could someone please clue me in as to how to fix this??? Here is how you fix that: Look for the definition of CopyBits. See that first parameter? See its type? Determine what that type is, exactly, then make sure you pass that type in to CopyBits. For example, if CopyBits wants a pointer to a BitMap or PixMap, then what you have looks like it might work, if it wants a handle to one of those you will have to remove the * from your first argument. When in doubt, look at the definition. Once you learn that, you are on the road to learning to help yourself. There is no magic here. scott comer