Originally posted by: Mark
in the function CreatePalette(), the last part reads
// Create Palette!
the result of create palette is not returned. or at least
Regards,
filename - DIBSectionLite.cpp
BOOL bResult = (int) m_Palette.CreatePalette(&PaletteInfo);
return TRUE;
}
i dont think it is. Is this your intention ? bResult
does not seem to have any purpose.
Mark
Originally posted by: OC
I am using CDIB section relativly long time. It is a great and very fast method to display and manipulate
data.
The small detail is: it might not work on all video cards.
On some video drivers it can even crash the program, when user updated theirs video drivers then it
usually go ok.
On other video drivers it doesn't display anything at all, but it doesn't crash. It simply doesn't work.
Again if they get some new drivers, usually it start working but they might not get the drivers.
It is not very common problem, from 1000 people there could be 5 with this problem and they will tell you
they never had any problems with other programs but yours. After you make them to get a new drivers or ask
the manuf. of the video for new drivers the problem is gone, but it is annoying!!!
I have no Idea why it is like that.
I was and I am still using the implementation which is almost exactly the same like the one provided here.
Any ideas?
Reply