home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 13944 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.1 KB

  1. Path: sparky!uunet!munnari.oz.au!metro!socs.uts.edu.au!syzygy!james
  2. Date: 13 Aug 92 00:04:06 GMT
  3. Message-ID: <james.713664246@syzygy>
  4. From: james@socs.uts.edu.au (James Ward)
  5. Newsgroups: comp.sys.mac.programmer
  6. Subject: My view resource won't load.  Any suggestions?
  7. Keywords: view macapp resource
  8. Reply-To: james@socs.uts.edu.au
  9. Organization: University of Technology, Sydney, Australia (standard disclaimer)
  10. Lines: 30
  11.  
  12. Please help a newbie MacApp`er with a view resource problem...
  13.  
  14. I`m trying to make my MacApp 3.0 application display a view with around
  15. nine buttons, three clusters and a static text list.  My code compiles
  16. OK, but when it is run no document or window is created, and the 
  17. message "Not enough memory to create document" appears.  SourceBug shows 
  18. that the NewTemplateWindow function returns 'nil'.
  19.  
  20. I have increased the memory partition of the App using the "Get Info.."
  21. dialog box to 2000k, but this doesn`t help.  Should I be changing the
  22. `mem` or `size` resource too?  Could the problem be that the view
  23. resource is not formed correctly?  How can I debug this problem?
  24.  
  25. Thanks for any suggestions,
  26.  
  27. James Ward.
  28. University of Technology, Sydney.
  29.  
  30.  
  31.