On Fri, 1 Aug 2003, Ralf Habacker wrote:
> _XInherit:
> jmp (*xyz)
>
> where xyz is the address of the image allocation table, in which the address of
> the real function address is stored.
>
> So using *(long *)((long)_XInherit+2) in a client dll for comparing gives the
> real function address.
_XtInherit is now used in initialisation of static structures. So any substitute
must not contain terms which value is only known at runtime. This includes return
values of function and memory access (which includes variables and your example).
bye
ago
--
[EMAIL PROTECTED]
http://www.gotti.org ICQ: 126018723