Re: Win32Lib & bitBlt & error 436
- Posted by Derek Parnell <derekp at SOLACE.COM.AU> Jan 17, 2001
- 379 views
------=_NextPart_000_0016_01C08091.64FEFE60 charset="iso-8859-1" Hi, I suspect that the error is NOT coming from the code snippet you supplied. Firstly because that message is issued by the getRect() function which is not invoked by the code snippet (directly or indirectly), and secondly because I executed your code and it worked just fine. This warning message (#436) is displayed with a dialog box that allows you to ignore it or abort. When you abort, you should still get a ex.err file created that you can use to track down from where the getRect() function was invoked. You can send me the ex.err file for me to analyse if you like. ----- cheers, Derek Parnell -----Original Message----- From: Euphoria Programming for MS-DOS [mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]On Behalf Of Euman Sent: Wednesday, January 17, 2001 2:06 PM To: EUPHORIA at LISTSERV.MUOHIO.EDU Subject: Win32Lib & bitBlt & error 436 Hello Win32lib Coders Can someone explain why I get an error with the following Code? </snip> constant ShapedWin = create( Window, "Window", 0, centerX(530), centerY(420), 530, 400, 0 ) integer pbutup_bm pbutup_bm = create( Pixmap, "", 0, 348, 90, 448, 120, 0 ) bitBlt( pbutup_bm, 0, 0, ShapedWin, 348, 90, 100, 30, SRCCOPY ) Error 436 getRect:GetObject for bitmap failed ------=_NextPart_000_0016_01C08091.64FEFE60 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D567422003-17012001>I=20 suspect that the error is NOT coming from the code snippet you supplied. = Firstly=20 because that message is issued by the getRect() function which is not = invoked by=20 the code snippet (directly or indirectly), and secondly because I = executed your=20 code and it worked just fine.</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D567422003-17012001>This=20 warning message (#436) is displayed with a dialog box that allows you to = ignore=20 it or abort. When you abort, you should still get a ex.err file created = that you=20 can use to track down from where the getRect() function was invoked. You = can=20 send me the ex.err file for me to analyse if you = like.</SPAN></FONT></DIV> <DIV> </DIV> <P><FONT size=3D2>-----<BR>cheers,<BR>Derek Parnell<BR></FONT><FONT=20 face=3D"Times New Roman" size=3D2>-----Original = Message-----<BR><B>From:</B>=20 Euphoria Programming for MS-DOS = [mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]<B>On=20 Behalf Of</B> Euman<BR><B>Sent:</B> Wednesday, January 17, 2001 2:06=20 PM<BR><B>To:</B> EUPHORIA at LISTSERV.MUOHIO.EDU<BR><B>Subject:</B> = Win32Lib &=20 bitBlt & error 436<BR><BR></P> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px"></FONT> <DIV><FONT face=3DArial size=3D2>Hello Win32lib Coders</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Can someone explain why I get an = error with the=20 following Code?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></snip></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>constant </FONT></DIV> <DIV><FONT face=3DArial size=3D2>ShapedWin =3D create( Window, = "Window", 0,=20 centerX(530), centerY(420), 530, 400, 0 )</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>integer pbutup_bm</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pbutup_bm =3D create( Pixmap, "", 0, = 348, 90,=20 448, 120, 0 ) <BR> <BR> bitBlt(=20 = ; =20 0,=20 = = ; =20 348,=20 = =20 100,=20 = 30, <BR> = =20 SRCCOPY ) </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Error 436</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>getRect:GetObject for bitmap=20 ------=_NextPart_000_0016_01C08091.64FEFE60--