Is there any way to get a base class's methods to operate on a derived class's static members? - ie
base class
f(){ number++ }
derived class
static int number
The only way of doing this I can find is to make the base class a class template and instantiate a version of the template...
Anyone know why TryEnterCriticalSection() is thrown out by the compiler (VC++ 6, sp5)? I've tried #defining the OS revision (as suggested in MSDN - I'm using Win2k) and it makes no difference.
Cheers, Ian.
Anyone know why my tooltip control sends 3 WM_NOTIFY messages (TTN_GETDISPINFO) to a window when the mouse stops over it? This is a message asking for text for the tooltip and asking once is quite enough! Can't figure it out.
Cheers, Ian.
Really annoyed about this - Basically you can't use the STL map class template in VC++ 6 (Pro - SP5) because using it generates about 50-70 long warnings when you compile. These are benign (in fact, pointless) warnings of 'type' 4786. You should be able to disable them using #pragma...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.