On Thu, 4 Oct 2007 17:13:58 +0100 (BST)
Hussein Al-Shatri <[EMAIL PROTECTED]> wrote:

> I have two libraries and they are dependent on each other. whan I
> start the program fail because they need information from each other.
> by the way I am using dlopen,
> 
> dlopen( modpos->c_str(), RTLD_LAZY | RTLD_GLOBAL );
> 
> any idea without changing lots of codes.

Create an init function that can take a structure that contains the
data they both need.

-- 
The ATM to the Netapp is screwed because of a memory leak in the lyris
server. AOL is planting trees instead of cell towers.
:: http://www.s5h.net/ :: http://www.s5h.net/gpg


[Non-text portions of this message have been removed]

Reply via email to