home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: christon@sn.no (Christopher Naas)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Shared library open and close functions
- Date: 18 Feb 1996 11:16:27 +0100
- Organization: SN Internett
- Message-ID: <819.6622T664T185@sn.no>
- References: <510.6619T1238T1638@Th0r.foo.bar> <935.6621T819T991@norconnect.no>
- NNTP-Posting-Host: sinsen.sn.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- Kenneth C. Nilsen wrote:
-
- >>How do I add functions to a shared library that are called the first time
- >>the library is opened and when the library is removed from memory? I want
- >>one function that is called the first time the library is opened, and one
- >>function that is called when the library is closed by the last user and it
- >>is flushed from memory.
- >1) You have to make the library yourself cause OpenLibrary() calls a init
- >when a library is opened for the first time and this can't be added
- >inbetween. You can not use exec.library functions for this purpose.
- I'm writing the library myself. How do I add these functions using SAS/C?
-
-
- --
- Christopher Landmark Naas o EMail: christon@sn.no
- LoungeBar Development o WWW: http://www.sn.no/~christon/
- Former Reg. Amiga Developer o IRC: KarmaComa
-