home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!UA1VM.BITNET!DMCGHEE1
- Organization: Institute for Study of Wombats and Lemurs
- Message-ID: <I-AMIGA%93012110041078@RUTVM1.RUTGERS.EDU>
- Newsgroups: bit.listserv.i-amiga
- Date: Thu, 21 Jan 1993 08:58:04 CST
- Sender: Info-Amiga List <I-AMIGA@RUTVM1.BITNET>
- From: David McGhee <DMCGHEE1@UA1VM.BITNET>
- Subject: Re: Gadgets & images
- In-Reply-To: Message of Thu,
- 21 Jan 1993 10:43:39 +0000 from <martink@CENTRAL1.LANCASTER.AC.UK>
- Lines: 17
-
- Just a thought, If you aren't dynamically allocating the memory, your struct
- may be getting filled with garbage when you return to the calling function.
- The way to avoid this would be to declare the structure as static.
-
- The only other thing I can think of is to make sure the DATA itself and not
- just the pointer to it is in chip memory. I noticed you declared your
- pointer in chip memory (which doesn't matter, since only the data has
- to be in chip memory).
-
- disclaimer: standard
- ║-------------------------The University of Alabama--------------------------║
- ║ ║ ║
- ║ DMCGHEE1@UA1VM.BITNET ║ "Just another nail in the big blue's coffin..." ║
- ║ DMCGHEE1@UA1VM.UA.EDU ║ "...it just freaks me out when you pull down ║
- ║ D.MCGHEE2 on GEnie ║ a screen and start multitasking." ║
- ║ DMCGHEE@SSS.CBA.UA.EDU║ ║
- ║--------------------------Systems Support Services--------------------------║
-