[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    RE: CXX-DEV: In the shared Library, Is there the function like the DllMain in Windows?
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2000-09-26 0:22:07
[Download RAW message or body]

>but how can I specialize the deinitializer?

It is the same function.  The second parm tells you which.
   void init_foo(shl_t hndl, int loading);

See ld +help:
          Example: An Initializer for Each Library

Look in the index for initializer.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic