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

  1. Path: sparky!uunet!stanford.edu!rutgers!ub!acsu.buffalo.edu!triantos
  2. From: triantos@acsu.buffalo.edu (Nick B Triantos)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Help needed translating from MPW to THINK C ...
  5. Message-ID: <Bu7v87.8GK@acsu.buffalo.edu>
  6. Date: 7 Sep 92 17:31:16 GMT
  7. References: <Bu6tnD.I96@acsu.buffalo.edu>
  8. Sender: nntp@acsu.buffalo.edu
  9. Distribution: comp
  10. Organization: The University at Buffalo
  11. Lines: 25
  12. In-Reply-To: triantos@acsu.buffalo.edu's message of Mon, 7 Sep 1992 03:59:34 GMT
  13. Originator: triantos@autarch.acsu.buffalo.edu
  14. Nntp-Posting-Host: autarch.acsu.buffalo.edu
  15.  
  16. I recently write:
  17.  
  18. >I'm trying to compile the source to Windows 3 (Name correct?), the program that
  19. >lets me show everyone that my Mac can run Windows (Check it out before you
  20. >flame me).  Anyway, I'm trying to compile it in THINK, and, after some minor
  21. >changes, I'm getting errors caused by the line below.  It's used as follows:
  22.  
  23. >extern void _DataInit();
  24.  
  25. Well anyway, I deleted the line, and the reference to it about 5 lines below,
  26. and, after setting THINK to always use 4-byte ints, it compiles.  I copied all
  27. of the resources except the CODEs from the included app to the .rsrc file for
  28. my project, and now when I run it, from inside the debugger, outside the
  29. debugger, or as a built application, all I get is a small dialog saying
  30. something like Microsoft Windows 3.0 with an OK button.  Then it exits.
  31.  
  32. Does anyone else have any further ideas, maybe?
  33.  
  34. Thanks,
  35. -Nick
  36. --
  37. Nick Triantos    internet: triantos@acsu.buffalo.edu
  38.                  AOL:      Triantos
  39. "Scientists tell us that the fastest animal on earth, with a top speed of
  40. 120 ft/sec, is a cow that has been dropped out of a helicopter." - Dave Barry
  41.