Alexander Gottwald wrote:

> On Mon, 28 Jul 2003, Ralf Habacker wrote:
>
> I changed the type of _XtInherit to a variable instead of a function.
> It compiles but I've not tested it completely.

That was a dead-end too.

> With this way we have a symbol which contains the address of the XtInherit
> function in libXt and is directly exported.

I don't see a solution which uses a function.

We either need a value which is already valid when compiling or an address
of a symbol where the address is equal for all dlls and known when linking
the library.

The solution used with sun does not work too. The link a function _XtInherit
staticly to each library but inside the different libraries the symbols
map to different addresses and are not equal.

The only solution I see is the usage of a constant value.

bye
    ago

NP: Deine Lakaien - Silence In Your Eyes
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org           ICQ: 126018723

Reply via email to