AlphaBlend assert failure?!
Corona Riccardo
coronariccardo at gmail.com
Fri Sep 8 06:58:06 PDT 2006
Hi,
I've written a graphical application (with wx 2.6.1) that read and draw in a
window 10 bitmap for second. The read is done by a wxthread that load and
store in memory the image and then force Refresh on the window, in this
window I've overloaded the OnPaint function to draw the bitmap properly.
The app can go on for long time but after some hour it go in an assert
failure of this type:
//this is the messages printed on the log file...
Debug: C:\wxWidgets-2.6.1\src\msw\dc.cpp(2446): 'AlphaBlend' failed with
error 0x00000057 (incorrect parameter).
Debug: C:\wxWidgets-2.6.1\src\msw\dib.cpp(134): 'CreateDIBSection' failed
with error 0x00000057 (incorrect parameter).
And I cannot understand when/why this type of assert are raised from
wxwidgets.
Thank's for every minimal help.
Regards.
-- =
Riccardo Corona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20060908/9df=
956fa/attachment.htm
More information about the wx-users
mailing list