home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / iamiga / 10531 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.6 KB  |  31 lines

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