bates@bison.DEC (Ken Bates DTN 522-2039) (06/21/85)
Do any of the DA gurus out there know how to prevent a desk accessory from exiting when another program is invoked? I'm working on a DA which has the 'close' information imbedded in a dialog box, so no 'close box' exists per se. The DA may be closed by checking the appropriate box (causing it to exit), but I do NOT want it to exit merely because another program was run. The main purpose will be to have the DA exist across program invocations (although not necessarily system re-boots), and as far as I can tell, any time another program is launched, the Finder calls the close routine of the DA whether er or not you want it to do so. Am I missing something, or am I merely out of luck? Thanks in advance for any help... -- Ken Bates uucp : decwrl!dec-rhea!dec-bison!bates arpa : bates%bison.dec@decwrl cis : 70047,1226 enet : BISON::BATES phone: (303) 594-2039 mail : Digital Equipment Corp. 301 Rockrimmon Blvd. Colorado Springs, CO 80919
cam2@ur-univax.UUCP (06/24/85)
This idea will probably not work, since the application heap is reinitialized after a program is quit. The only way might be to leave the DA in the system heap, although I have not seen any DA's which accomplish this. -- Craig A. McGowan University of Rochester UUCP: ...{allegra|seismo|decvax}!rochester!ur-univax!cam2 ARPA: mcgowan@rochester
jer@peora.UUCP (J. Eric Roskos) (06/26/85)
>This idea will probably not work, since the application heap is reinitialized >after a program is quit. The only way might be to leave the DA in the system >heap, although I have not seen any DA's which accomplish this. Unfortunately the parent article never arrived here, so I don't know what "this idea" is... but I have put the .Journal DA on the system heap (to make it work across applications launches), and it works just fine. Space on the system heap tends to be very limited, though. (Isn't there a boot-sector parameter to change it, though? I'm not sure.) -- Shyy-Anzr: J. Eric Roskos UUCP: ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jer US Mail: MS 795; Perkin-Elmer SDC; 2486 Sand Lake Road, Orlando, FL 32809-7642 "Qbpx! Qbpx! Zl obj jrag bss juvyr V jhm pyrrava' vg!"