Soas,
This is a known problem with the TransparentBlt call. It leaks memory in win9x (OK in NT, 2K and XP I think). Go to MSDN and search for TransparentBlt. You should find there official acknowledgement of this bug and, I think, a link to guidance about using BitBlt to draw 'transparent'...
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...
Kieren,
I suppose that a client compiled after the introduction of the new method, and expecting to find it on your interface, might come across the old version of the interface and trust it to have the new method (which of course it would not). It might all end in tears.
Cheers, Ian.
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.
MSDN
The GetSystemInfo function returns information about the current system.
VOID GetSystemInfo(
LPSYSTEM_INFO lpSystemInfo // address of system information
// structure
);
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.
Yeah I've got SP5 too - it's the latest (and I would imagine last) isn't it? Funny isn't it how you can't get access to this info. Oh well..
Cheers, Ian.
JOlesen
Wow, that's clever! I wonder if it's the Enterprise Ed. that's behaving? What service pack do you have installed?
I've got round the problem by putting together a little map template of my own using a couple of vectors and the find() generic algo. It's limited but does what I need and...
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.