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

  1. Path: sparky!uunet!decwrl!sdd.hp.com!usc!news!benton.prepress.com!usenet
  2. From: chris@benton.prepress.com (Christopher Knox)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Help ! MPW/MacApp Link Error
  5. Message-ID: <1992Aug12.183330.27512@prepress.com>
  6. Date: 12 Aug 92 18:33:30 GMT
  7. Sender: usenet@prepress.com (Usenet login)
  8. Organization: Pre-Press Technologies, Inc.
  9. Lines: 34
  10. Nntp-Posting-Host: chris
  11. X-Useragent: Nuntius v1.0
  12.  
  13.  
  14. ThinkC is so easy to use, it's boring. So let's try MPW/MacApp (ha ha).
  15.  
  16. I'm trying to get a slow start on MacApp. So after two days of tutorial
  17. from
  18. a CD ROM (what happened to books, at least you can turn the page when
  19. you're
  20. done reading it !) and building the sample application I boldly decided
  21. to add
  22. some other code to it. 
  23. It's a large chunk and is to be called from strategic places within the
  24. MacApp framework. 
  25. So far so good. I fought my way through to extern "C" and -ModelFar but
  26. now I'm stuck. 
  27. I'm calling one (!)  routine without parameters in ...->IMyApplication. 
  28. This routine is part of the large chunk of code. 
  29. I get the following error:
  30.  
  31. Making:        Touch.MAMake
  32. Linking:       Touch
  33. ### While reading file "HRDKNOX:MPW:Libraries:Libraries:RunTime.o"
  34. ### HRDKNOX:MPW:Tools:Link: Error: PC-relative edit, offset out of range.
  35. (Error 48) %__MAIN (260) 
  36.   Reference to: main in file: HRDKNOX:MPW:-Touch2:.S7TefCfD:MTouch.cp.o
  37. ### HRDKNOX:MPW:Tools:Link: Error: PC-relative edit, offset out of range.
  38. (Error 48) %__MAIN (260) 
  39.   Reference to: %__MAIN in file: ### HRDKNOX:MPW:Tools:Link: Errors
  40. prevented normal completion.
  41.  
  42. Any suggestions ? Thanks.
  43.                               
  44.                               Desperate In CA.
  45. Chris Knox
  46. "Omne animal triste est post (or without) coitum"
  47.