AlphaBlend assert failure?!

Stefan Csomor csomor at advancedconcepts.ch
Fri Sep 8 06:41:22 PDT 2006


Hi
 
as a first idea I'd assume that you are not releasing everything
correctly and run into an exhaustion of system handles. So check that
you are releasing everything that is not needed anymore.
 
Best,
 
Stefan
 


  _____  

	From: Corona Riccardo [mailto:coronariccardo at gmail.com] 
	Sent: Freitag, 8. September 2006 15:58
	To: wx-users at lists.wxwidgets.org
	Subject: AlphaBlend assert failure?!
	
	
	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/119b003c/attachment.htm


More information about the wx-users mailing list