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