Hi,

I've a problem right now :( I'm coding independant scrollbars in on of my
VGUI menus. I made them working, but there's a thing I can't manage to
correct :(

I've overloaded the "CommandButton" class to have the button at the
extremity of my scrollbars working. However, if use either the original
class (CTFSliderButton) or my class for the buttons, I always get a "heap
chunk
corruption (assert failed in hpdebug.c" when I quit HL (in debug mode, the
problem is located in
ntdll.dll). I've pointed out that if I remove this lines from the
constructor of my button, all gets right :

// This leaks !!
InputSignal* is = new CHandler_CommandButtonHighlight((CommandButton*)this);
addInputSignal(is);

Does someone know what happens ? I've tried to investigate more than that
but I didn't find anything which could help me...

OK, have you any idea of what's going on ?

      - Cortex : HL ALBATOR coder & mapper
      - [EMAIL PROTECTED] & ICQ : 71548738



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to