home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19726 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.6 KB  |  77 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!wupost!spool.mu.edu!agate!apple!mumbo.apple.com!gallant.apple.com!wintermute.apple.com!user
  3. From: ksand@apple.com (Kent Sandvik )
  4. Subject: Re: Problems with MacApp
  5. Sender: news@gallant.apple.com
  6. Message-ID: <ksand-121292162848@wintermute.apple.com>
  7. Date: Sun, 13 Dec 1992 00:32:36 GMT
  8. References: <1fp6gdINNmqk@calvin.NYU.EDU>
  9. Organization: (Evil Eye Creature from Mars, Inc.)
  10. Followup-To: comp.sys.mac.programmer
  11. Lines: 64
  12.  
  13. In article <1fp6gdINNmqk@calvin.NYU.EDU>, roy@mchip00.med.nyu.edu (Roy
  14. Smith) wrote:
  15. >     After making a number of false starts at Mac programming with
  16. > ThinkC, I've decided to take a shot at MPW.  I've installed MPW 3.2 and
  17. > MacApp 3.0.1 from the ETO-8 CD-ROM and am trying to run through the MacApp
  18. > Tutorial (C++).  Starting right at the beginning, I tried to build the
  19. > Nothing application like the tutorial says, but can't get it to work.
  20. > Here's what I get:
  21. > mabuild nothing -autobuild -nodebug
  22. > MABuildTool - v. 3.0.1 Release 6/10/92          Start: 11:49:04 12/2/92
  23. > Copyright Apple Computer, Inc. 1986-1992
  24. > All Rights Reserved.
  25. > Target Folder: "Qwerky:MacApp 3.0.1:Libraries:.NoDebug Files:"
  26. > Making:        MacApp.Lib.MAMake
  27. > Rezzing:       MacApp.r
  28. > File "Qwerky:MacApp 3.0.1:Libraries:MacApp.r"; Line 25; ###
  29. > Qwerky:MPW:Tools:Rez - Can't find the declaration for the resource type
  30. > 'aedt' (0x61656474).
  31.  
  32. The missing 'aedt' resource bug strikes again. The ETO CD should have a bug
  33. guide (actually two of them in the same documentation folder) where this
  34. problem
  35. is defined and where we also described the workaround. In addition, the ETO
  36. #9 has
  37. a MacApp 3.0.1* release where the bug is fixed. 
  38.  
  39. You need to add  the missing 'aedt' resource to the MacAppTypes.h file.
  40. This resource was defined
  41. in Types.h, but it was taken out in the MPW revision, and someone forgot
  42. :-)
  43. to place it into the MacApp resource files. 
  44.  
  45. Here's an 'aedt' resource if you don't have access to earlier ETO CDs where
  46. the
  47. resource is present:
  48.  
  49.  
  50. /*------------------aedt Ñ Apple Events Template -----------------*/
  51. /* Resource definition used for associating a value with an apple event */
  52. /* This really only useful for general dispatching */
  53.  
  54. type 'aedt' {
  55.     wide array {
  56.     unsigned longint;    /* Event Class     */
  57.     unsigned longint;    /* Event ID     */
  58.     unsigned longint;    /* Value     */
  59.     };
  60. };
  61.  
  62.  
  63. Place this one inside the MacAppTypes.r file, just after the:
  64. #define sectionCancelMsgID        'cncl'        // Section Cancel Event
  65.  
  66. line.
  67.  
  68. Kent
  69. -------------------
  70. Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
  71. DISCLAIMER: Private activities on the Net.
  72.