home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / tech / 6936 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.6 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!agate!doc.ic.ac.uk!uknet!edcastle!hwcs!sbrown
  2. From: sbrown@cs.hw.ac.uk (Stuart Brown)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: GEM Execution Problem
  5. Message-ID: <1993Jan27.174804.14975@cs.hw.ac.uk>
  6. Date: 27 Jan 93 17:48:04 GMT
  7. Sender: news@cs.hw.ac.uk (News Administrator)
  8. Organization: Dept of Computing & Electrical Engineering, Heriot-Watt University, Scotland
  9. Lines: 48
  10.  
  11. Newsgroups: comp.sys.atari.st.tech
  12. Subject: Calling .PRGs from .PRGs
  13. Summary: 
  14. Expires: 
  15. Sender: 
  16. Followup-To: 
  17. Distribution: world
  18. Organization: Dept. of Computing & Electrical Eng., Heriot-Watt University, Scotland
  19. Keywords: 
  20.  
  21.  
  22. I've been writing a program to time other programs, splitting the results
  23. into program time, Gemdos time, Xbios time, etc.  The program uses GEM
  24. and a resource file created with Wercs;  a title dialogue is displayed and
  25. once the user has clicked the button or pressed Return, a file selector is
  26. displayed;  from here the user can select the program s(he) wants to time.
  27.  
  28. This works correctly with TOS based programs (I've not tried a .TTP yet because
  29. the program does not have a facility to enter a command line yet) and some GEM
  30. based programs which use, for instance, only alert forms.  However, programs
  31. using resource files do not work;  they display a 'resource file not found' or
  32. such an error.
  33.  
  34. What I want to know is 'is it possible to run GEM based programs from a GEM
  35. based program (and especially, ones with resource files)?'  I'm not sure if 
  36. this can work, because Devpac 2's 'Run Other' menu option seems to have the
  37. same problem.
  38.  
  39. As a matter of interest, I did try loading Devpac 2 into my timer program since
  40. its resource file is not separate on disk but actually included in the main
  41. program file;  it actually worked but could not locate Monst 2 from the disk:
  42. this indicates something to do with the path, but I've tried setting the path
  43. and I've got nowhere.
  44.  
  45. I hope someone out there can help.  Thanks very much in anticipation.
  46.  
  47.  
  48. STUART BROWN                      |Norman Lamont is an anagram of 'Not Normal 
  49. 2nd Year, Bsc Computer Science    |Man' - this explains a lot!
  50. Heriot-Watt University            |
  51. Edinburgh                         |Margaret Thatcher has 'That Great Charmer' 
  52. Scotland                          |as an anagram - Twilight Zone stuff!
  53.  
  54.  
  55. P.S.  If anybody has any ideas on how I can extend the program's options or
  56.       other facilities which would be useful, contact me as well;  I may
  57.       distribute the program (if it works) when (or perhaps if) it is finished:
  58.       you may get a mention!  Thank you in anticipation.
  59.