+ char m_ptrStr[sizeof(void*)*2+1];
+ void updatePtrStr()
+ {
+ if (ptr) {
+ if (sizeof(void*) > 4)
+ sprintf(m_ptrStr, "%llx", (unsigned long long)ptr);
+ else
+ sprintf(m_ptrStr, "%lx", (unsigned long)ptr);
+ }
+ else
+ strcpy(m_ptrStr, "NIL");
+ }