Re: Win32Lib & bitBlt & error 436

new topic     » goto parent     » topic index » view thread      » older message » newer message

------=_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>&nbsp;</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 &amp;=20
bitBlt &amp; 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>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&lt;/snip&gt;</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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,&nbsp; 120, 0 ) <BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;bitBlt(=20
  =
;&nbsp;&nbsp;&nbsp;=20
  0,=20
  =
  =
;&nbsp;&nbsp;&nbsp;&nbsp;=20
  348,=20
  =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  100,=20
  =
30,&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;=20
  SRCCOPY )&nbsp;</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Error 436</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>getRect:GetObject for bitmap=20

------=_NextPart_000_0016_01C08091.64FEFE60--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu