home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13184 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.6 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cbmvax!peter
  2. From: peter@cbmvax.commodore.com (Peter Cherna)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Boopsi custom gadget problem
  5. Message-ID: <34939@cbmvax.commodore.com>
  6. Date: 8 Sep 92 17:42:46 GMT
  7. References: <34759@cbmvax.commodore.com> <1992Sep4.095309.642@csc.canterbury.ac.nz>
  8. Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
  9. Organization: Commodore-Amiga, Inc.  West Chester, PA.
  10. Lines: 25
  11.  
  12. In article <1992Sep4.095309.642@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
  13. >Peter Cherna (peter@cbmvax.commodore.com) wrote:
  14. >: In article <1992Aug31.134444.571@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
  15. >: >I am having a problem implementing a string gadget as a subclass of
  16. >: >'strgclass'.
  17. >
  18. >Mismatched FreeMem size 15!
  19. >Original allocation: 20 bytes from A:0xFEBFD4 C:0xFD8468 Task 0x30118
  20. >Testing with original size.
  21.  
  22. The problem was found to be that Intuition limits the buffer length
  23. of an integer string gadget to 15.  If a boopsi strgadclass object
  24. has a STRINGA_MaxChars of > 15, this problem will occur.  STRINGA_MaxChars
  25. should be set to 15 or less when using an integer gadget.
  26.  
  27. (Note: we're referring to boopsi here, not GadTools).
  28.  
  29. >Michael Cree                              Gold there is
  30.  
  31.      Peter
  32. --
  33. Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
  34. {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
  35. My opinions do not necessarily represent the opinions of my employer.
  36. "I believe it's bad luck to be superstitious."
  37.