home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5480 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: god.bel.alcatel.be!nlev00!barnhoorn
  2. From: barnhoorn@nlev00 ()
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: detachable program
  5. Date: 15 Mar 1996 06:47:00 GMT
  6. Organization: Alcatel Bell
  7. Distribution: world
  8. Message-ID: <4ib3p4$8eo@btmpjg.god.bel.alcatel.be>
  9. References: <Pine.BSD.3.91.960310002355.23759B-100000@ugly.cute.fi> <3147C24C.5C39@sapiens.com>
  10. Reply-To: barnhoorn@nlev00 ()
  11. NNTP-Posting-Host: 138.203.178.61
  12. X-Newsreader: mxrn 6.18-10
  13.  
  14.  
  15. In article <3147C24C.5C39@sapiens.com>, Avi Lev <avil@sapiens.com> writes:
  16. >Kristian "Hwmagic" Slavov wrote:
  17. >> 
  18. >> Help me!
  19. >> I want to know how to make a program that detaches itself from CLI
  20. >
  21. >well, you can just use the command RUN <program> at the CLI 
  22. >prompt and that's it, or, you can write a small loader program 
  23. >that spawns a child process and exits, but if you're refering to 
  24. >TSR's then it's not that simple as you have to dive in and 
  25. >change some OS structure to ensure the program stays in memory 
  26. >even when it terminates. hope this helps, Avi.
  27. >
  28.  
  29. Another possibility is to make use of SAS/C's cres.o startup
  30. module, which detaches the program from the shell.
  31.  
  32. -- 
  33. ---------------------------------------------------------------------------
  34. Jaco Barnhoorn               barnie@xs4all.nl
  35. Software Test Engineer       barnhoorn%nlev00@btmv56.se.bel.alcatel.be
  36. Alcatel Telecom Systems
  37. Rijswijk, The Netherlands
  38. ---------------------------------------------------------------------------
  39.