Path: utzoo!attcan!uunet!husc6!rutgers!bellcore!texbell!uhnix1!uhnix2!uace0 From: uace0@uhnix2.uh.edu (Michael B. Vederman) Newsgroups: comp.sys.atari.st Subject: Re: Sozobon Compiler and Accessories - Help! Keywords: Accesories Sozobon dstart.o Message-ID: <799@uhnix2.uh.edu> Date: 8 Jul 89 14:17:45 GMT References: <458@medusa.informatik.uni-erlangen.de> Reply-To: uace0@uhnix2.UUCP Distribution: comp Organization: University of Houston Lines: 23 Here is a little known secret, which you are apparently 'starving' for. A 'program' can be run as an accessory or a program, but of course, you must be able to tell whether or not you are a DA. And once you find out you are a DA, you must menu_register and evnt_mesg or evnt_multi to catch AC_OPEN calls. Now the 'trick.' To determine if you are a DA, simply look at your basepage. SPecifically, look to see if you have a parent process. If the pointer to your parent's BP is zero, then you are a DA. If your parent pointer is not NULL, you are a program. I expect that now everyone on the net will make their programs run either way. - mike -- for (;;) : Use ATARINET, send an interactive do_it(c_programmers); : message such as: : Tell UH-INFO at UHUPVM1 ATARINET HELP University Atari Computer Enthusiasts : University of Houston UACE