Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!tekcrl!tekfdi!bobb From: bobb@tekfdi.TEK.COM (Robert Bales) Newsgroups: comp.sys.amiga Subject: Re: BltBitMap() problems. Message-ID: <1713@tekfdi.TEK.COM> Date: 11 Feb 88 02:20:47 GMT References: <1081@percival.UUCP> Reply-To: bobb@tekfdi.UUCP (Robert Bales) Organization: Tektronix, Inc., Beaverton, OR. Lines: 22 Keywords: Help! In article <1081@percival.UUCP> baer@percival.UUCP (Ken Baer) writes: >I have been having some trouble getting the BltBitMap() function to work >properly. . . . The following code should illustrate what I'm trying to do. >struct BitMap *bitmap1, *oldbitmap1; >struct ViewPort vp1; >WORD blitnum; > >.... > >blitnum = BltBitMap(bitmap1, 0, 0, oldbitmap1, 0, 0, vp1->DWidth, vp1->DHeight, > 0xc0, 0xff, NULL); Forgive me if this is an approximation and not an exact copy of the code, but when using Manx (as Ken states in another message), *all* constants and other integral values passed to Amiga functions must be *long* (0L). Bob Bales Tektronix, Inc. I help Tektronix make their instruments. They don't help me make my opinions.