6090617@pucc.BITNET (Robert Wald) (06/12/86)
How can you make a DA or a driver exist in the System Heap so it doesn't go away between applications? By the way, Lightspeed C wants the socketnum in Opensocket as an int, rather than a Byte as in IM. This was my earlier problem. Thanks to John Labovitz for pointing this out. ------------------- Nexus -------------------- -Rob Wald (PUCC User Services) BITNET: 6090617@PUCC UUCP: ...ALLEGRA!PSUVAX1!PUCC.BITNET!6090617 "Behold, I teach you the Superman! He is this Lightning. He is this madness."
ephraim@wang.UUCP (pri=8 Ephraim Vishniac x76659 ms1459) (06/13/86)
> How can you make a DA or a driver exist in the System Heap so > it doesn't go away between applications? > > -Rob Wald > (PUCC User Services) > BITNET: 6090617@PUCC > UUCP: ...ALLEGRA!PSUVAX1!PUCC.BITNET!6090617 > Either with ResEdit or when compiling/assembling/linking, set the System bit in the resource attributes for all resources used by the DA (including the DA DRVR itself). If the DA allocates storage, it might be necessary to explicitly do so from the system heap. Some applications (MacDraw) are inimcal to DA's, considering them merely parasites. It reportedly closes DA's explicitly, so just putting yourself in the system heap is no protection.
dwb@well.UUCP (David W. Berry) (06/13/86)
In article <730@pucc.BITNET> 6090617@pucc.BITNET writes: > > How can you make a DA or a driver exist in the System Heap so >it doesn't go away between applications? Set the system bit on the DRVR resource. -- David W. Berry dwb@well.uucp dwb.Delphi dwb.GEnie (408) 293-0544.MaBell Don't blame them, I don't work here. This is just a mail drop.