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

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: Pointers to base classes and dde
From:       Steve Vinoski <vinoski () iona ! com>
Date:       1998-02-21 23:20:06
[Download RAW message or body]

At 07:45 AM 2/14/98 -0800, Dennis Handly wrote:
>If you want to give up on dde you can always do the following:
>
>   print *(*((*(char****)b2)+2)+1)
>
>(This is what the compiler's typeid().name() uses.)

In xdb, which doesn't like (char****), you can use

p (char*)(*((long*)(*(long*)(((long*)(*(long*)b2))+8))+4))

--steve
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 To reply to the list, send mail to cxx-dev@cxx.cup.hp.com
 _________________________________________________________________

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

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