1. Win32lib (xpmConvertToNumber(data[x]))
- Posted by Euman <euman at BELLSOUTH.NET> Nov 09, 2000
- 361 views
------=_NextPart_000_000B_01C04A04.722C3BC0 boundary="----=_NextPart_001_000C_01C04A04.722C3BC0" ------=_NextPart_001_000C_01C04A04.722C3BC0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Win32Lib guru's I have become major frustrated as I'm sure Robert is given the fact that I presented ideas that the translator was crashing programs=20 when in fact win32lib seems to be the culprit. I used Judith's IDE with Win32Lib v.54=20 PointerXpm is the first .xpm called First off, the .xpm is being read into the program Why is this happening that euBmp ends up: euBmp =3D {{},{}} pal=3DeuBmp[1] pixels=3DeuBmp[2] w=3Dlength(pixels[1]) -- crashes here obviously I think the use of xpmConvertToNumber(data[x]) is Botched because data[x] is already a number and is returned as 0 just a guess_ta_mate of course...... I'm not a win32lib guru so could someone look at the attached ex.err file and tell me what the createDIB facility is doing to the .xpm ------=_NextPart_001_000C_01C04A04.722C3BC0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi Win32Lib guru's</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have become major frustrated as I'm = sure Robert=20 is</FONT></DIV> <DIV><FONT face=3DArial size=3D2>given the fact that I presented ideas=20 that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the translator was crashing programs = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>when in fact </FONT><FONT face=3DArial=20 size=3D2>win32lib seems to be the culprit.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I used Judith's IDE with Win32Lib v.54=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>PointerXpm is the first .xpm = called</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>First off, the .xpm is being read into = the=20 program</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Why is this happening that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>euBmp ends up:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>euBmp =3D {{},{}}</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pal=3DeuBmp[1]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pixels=3DeuBmp[2]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>w=3Dlength(pixels[1]) -- crashes here=20 obviously</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I think the use of = xpmConvertToNumber(data[x]) is=20 Botched</FONT></DIV> <DIV><FONT face=3DArial size=3D2>because data[x] is already a number and = is returned=20 as 0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>just a guess_ta_mate of = course......</FONT></DIV> <DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'm not a win32lib guru so could=20 someone</FONT></DIV> <DIV><FONT face=3DArial size=3D2>look at the attached ex.err file and = tell=20 me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>what the createDIB facility is = doing to the=20 ------=_NextPart_001_000C_01C04A04.722C3BC0-- ------=_NextPart_000_000B_01C04A04.722C3BC0 name="ex.err" Content-Transfer-Encoding: quoted-printable
2. Re: Win32lib (xpmConvertToNumber(data[x]))
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Nov 09, 2000
- 371 views
- Last edited Nov 10, 2000
------=_NextPart_000_001A_01C04A97.6DB269A0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm on to it!=20 ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message -----=20 From: Euman=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Thursday, November 09, 2000 8:20 PM Subject: Win32lib (xpmConvertToNumber(data[x])) Hi Win32Lib guru's I have become major frustrated as I'm sure Robert is given the fact that I presented ideas that the translator was crashing programs=20 when in fact win32lib seems to be the culprit. I used Judith's IDE with Win32Lib v.54=20 PointerXpm is the first .xpm called First off, the .xpm is being read into the program Why is this happening that euBmp ends up: euBmp =3D {{},{}} pal=3DeuBmp[1] pixels=3DeuBmp[2] w=3Dlength(pixels[1]) -- crashes here obviously I think the use of xpmConvertToNumber(data[x]) is Botched because data[x] is already a number and is returned as 0 just a guess_ta_mate of course...... I'm not a win32lib guru so could someone look at the attached ex.err file and tell me what the createDIB facility is doing to the .xpm ------=_NextPart_000_001A_01C04A97.6DB269A0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I'm on to it! </FONT></DIV> <DIV>------<BR>Derek Parnell<BR>Melbourne, Australia<BR>(Vote [1] The = Cheshire=20 Cat for Internet Mascot)<BR></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Deuman at BELLSOUTH.NET = href=3D"mailto:euman at BELLSOUTH.NET">Euman</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20 = </A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 09, = 2000 8:20=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Win32lib=20 (xpmConvertToNumber(data[x]))</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>Hi Win32Lib guru's</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have become major frustrated as I'm = sure Robert=20 is</FONT></DIV> <DIV><FONT face=3DArial size=3D2>given the fact that I presented ideas = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the translator was crashing programs=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>when in fact </FONT><FONT = face=3DArial=20 size=3D2>win32lib seems to be the culprit.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I used Judith's IDE with Win32Lib = v.54=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>PointerXpm is the first .xpm = called</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>First off, the .xpm is being read = into the=20 program</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Why is this happening = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>euBmp ends up:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>euBmp =3D {{},{}}</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pal=3DeuBmp[1]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pixels=3DeuBmp[2]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>w=3Dlength(pixels[1]) -- crashes here = obviously</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I think the use of = xpmConvertToNumber(data[x]) is=20 Botched</FONT></DIV> <DIV><FONT face=3DArial size=3D2>because data[x] is already a number = and is=20 returned as 0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>just a guess_ta_mate of = course......</FONT></DIV> <DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'm not a win32lib guru so could=20 someone</FONT></DIV> <DIV><FONT face=3DArial size=3D2>look at the attached ex.err file and = tell=20 me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>what the createDIB facility is = doing to the=20 ------=_NextPart_000_001A_01C04A97.6DB269A0--
3. Re: Win32lib (xpmConvertToNumber(data[x]))
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Nov 09, 2000
- 371 views
- Last edited Nov 10, 2000
------=_NextPart_000_007E_01C04A9E.CCA7A180 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can't duplicate the problem. I'm using win32lib v0.54.3 and IDE v0.9k.4 The bitmaps come up perfectly.=20 Does the problem you get occur in the interpreted IDE? Does the problem you get occur in the compiled IDE? Here is the routine you suspect is wrong.=20 ------------------------- function xpmConvertToNumber( sequence s ) s =3D value( s ) if s[1] !=3D GET_SUCCESS then =20 xpmErrFlag =3D 1 end if return s[2] end function =20 If you are having problems with the compiled version, I'd suspect that = the value() function is a problem.=20 ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message -----=20 From: Euman=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Thursday, November 09, 2000 8:20 PM Subject: Win32lib (xpmConvertToNumber(data[x])) Hi Win32Lib guru's I have become major frustrated as I'm sure Robert is given the fact that I presented ideas that the translator was crashing programs=20 when in fact win32lib seems to be the culprit. I used Judith's IDE with Win32Lib v.54=20 PointerXpm is the first .xpm called First off, the .xpm is being read into the program Why is this happening that euBmp ends up: euBmp =3D {{},{}} pal=3DeuBmp[1] pixels=3DeuBmp[2] w=3Dlength(pixels[1]) -- crashes here obviously I think the use of xpmConvertToNumber(data[x]) is Botched because data[x] is already a number and is returned as 0 just a guess_ta_mate of course...... I'm not a win32lib guru so could someone look at the attached ex.err file and tell me what the createDIB facility is doing to the .xpm ------=_NextPart_000_007E_01C04A9E.CCA7A180 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Can't duplicate the problem. I'm using = win32lib=20 v0.54.3 and IDE v0.9k.4</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>The bitmaps come up perfectly. = </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Does the problem you get occur in the = interpreted=20 IDE?</FONT></DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Does the problem you get occur in the = compiled=20 IDE?</FONT></DIV> <DIV> </DIV> <DIV>Here is the routine you suspect is wrong. </DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV><FONT face=3D"Courier New">-------------------------</FONT></DIV> <DIV><FONT face=3D"Courier New">function xpmConvertToNumber( sequence = s=20 )</FONT></DIV> <DIV><FONT face=3D"Courier New"> s =3D value( s=20 )<BR> if s[1] !=3D GET_SUCCESS=20 then <BR> = xpmErrFlag =3D=20 1<BR> end if<BR> return = s[2]<BR>end=20 function = <BR></FONT></DIV></BLOCKQUOTE> <DIV dir=3Dltr>If you are having problems with the compiled version, I'd = suspect=20 that the value() function is a problem. </DIV></FONT> <DIV>------<BR>Derek Parnell<BR>Melbourne, Australia<BR>(Vote [1] The = Cheshire=20 Cat for Internet Mascot)<BR></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Deuman at BELLSOUTH.NET = href=3D"mailto:euman at BELLSOUTH.NET">Euman</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20 = </A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 09, = 2000 8:20=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Win32lib=20 (xpmConvertToNumber(data[x]))</DIV> <DIV><FONT face=3DArial size=3D2></FONT><BR></DIV> <DIV><FONT face=3DArial size=3D2>Hi Win32Lib guru's</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have become major frustrated as I'm = sure Robert=20 is</FONT></DIV> <DIV><FONT face=3DArial size=3D2>given the fact that I presented ideas = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the translator was crashing programs=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>when in fact </FONT><FONT = face=3DArial=20 size=3D2>win32lib seems to be the culprit.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I used Judith's IDE with Win32Lib = v.54=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>PointerXpm is the first .xpm = called</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>First off, the .xpm is being read = into the=20 program</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Why is this happening = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>euBmp ends up:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>euBmp =3D {{},{}}</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pal=3DeuBmp[1]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pixels=3DeuBmp[2]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>w=3Dlength(pixels[1]) -- crashes here = obviously</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I think the use of = xpmConvertToNumber(data[x]) is=20 Botched</FONT></DIV> <DIV><FONT face=3DArial size=3D2>because data[x] is already a number = and is=20 returned as 0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>just a guess_ta_mate of = course......</FONT></DIV> <DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'm not a win32lib guru so could=20 someone</FONT></DIV> <DIV><FONT face=3DArial size=3D2>look at the attached ex.err file and = tell=20 me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>what the createDIB facility is = doing to the=20 ------=_NextPart_000_007E_01C04A9E.CCA7A180--
4. Re: Win32lib (xpmConvertToNumber(data[x]))
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Nov 09, 2000
- 381 views
- Last edited Nov 10, 2000
------=_NextPart_000_0097_01C04AA1.133B0900 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well, I've just downloaded the latest IDE and compiled it with Borland = 5.5 (using win32lib v0.54.3) and it still works okay. So I don't know = what the problem is with the set up you are using. ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message -----=20 From: Euman=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Thursday, November 09, 2000 8:20 PM Subject: Win32lib (xpmConvertToNumber(data[x])) Hi Win32Lib guru's I have become major frustrated as I'm sure Robert is given the fact that I presented ideas that the translator was crashing programs=20 when in fact win32lib seems to be the culprit. I used Judith's IDE with Win32Lib v.54=20 PointerXpm is the first .xpm called First off, the .xpm is being read into the program Why is this happening that euBmp ends up: euBmp =3D {{},{}} pal=3DeuBmp[1] pixels=3DeuBmp[2] w=3Dlength(pixels[1]) -- crashes here obviously I think the use of xpmConvertToNumber(data[x]) is Botched because data[x] is already a number and is returned as 0 just a guess_ta_mate of course...... I'm not a win32lib guru so could someone look at the attached ex.err file and tell me what the createDIB facility is doing to the .xpm ------=_NextPart_000_0097_01C04AA1.133B0900 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Well, I've just downloaded the latest = IDE and=20 compiled it with Borland 5.5 (using win32lib v0.54.3) and it still works = okay.=20 So I don't know what the problem is with the set up you are = using.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV>------<BR>Derek Parnell<BR>Melbourne, Australia<BR>(Vote [1] The = Cheshire=20 Cat for Internet Mascot)<BR></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Deuman at BELLSOUTH.NET = href=3D"mailto:euman at BELLSOUTH.NET">Euman</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20 = </A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 09, = 2000 8:20=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Win32lib=20 (xpmConvertToNumber(data[x]))</DIV> <DIV><FONT face=3DArial size=3D2></FONT><BR></DIV> <DIV><FONT face=3DArial size=3D2>Hi Win32Lib guru's</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have become major frustrated as I'm = sure Robert=20 is</FONT></DIV> <DIV><FONT face=3DArial size=3D2>given the fact that I presented ideas = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the translator was crashing programs=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>when in fact </FONT><FONT = face=3DArial=20 size=3D2>win32lib seems to be the culprit.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I used Judith's IDE with Win32Lib = v.54=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>PointerXpm is the first .xpm = called</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>First off, the .xpm is being read = into the=20 program</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Why is this happening = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>euBmp ends up:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>euBmp =3D {{},{}}</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pal=3DeuBmp[1]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pixels=3DeuBmp[2]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>w=3Dlength(pixels[1]) -- crashes here = obviously</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I think the use of = xpmConvertToNumber(data[x]) is=20 Botched</FONT></DIV> <DIV><FONT face=3DArial size=3D2>because data[x] is already a number = and is=20 returned as 0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>just a guess_ta_mate of = course......</FONT></DIV> <DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'm not a win32lib guru so could=20 someone</FONT></DIV> <DIV><FONT face=3DArial size=3D2>look at the attached ex.err file and = tell=20 me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>what the createDIB facility is = doing to the=20 ------=_NextPart_000_0097_01C04AA1.133B0900--
5. Re: Win32lib (xpmConvertToNumber(data[x]))
- Posted by Euman <euman at BELLSOUTH.NET> Nov 09, 2000
- 377 views
------=_NextPart_000_0010_01C04A47.E07A0380 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My deepest appologies to all, I reinstalled Euphoria and the problem went away nearest I can figure GET.E had become corrupt... THANKS DEREK, ROBERT euman at bellsout.net ----- Original Message -----=20 From: Derek Parnell=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Thursday, November 09, 2000 5:53 AM Subject: Re: Win32lib (xpmConvertToNumber(data[x])) I'm on to it!=20 ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message -----=20 From: Euman=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Thursday, November 09, 2000 8:20 PM Subject: Win32lib (xpmConvertToNumber(data[x])) Hi Win32Lib guru's I have become major frustrated as I'm sure Robert is given the fact that I presented ideas that the translator was crashing programs=20 when in fact win32lib seems to be the culprit. I used Judith's IDE with Win32Lib v.54=20 PointerXpm is the first .xpm called First off, the .xpm is being read into the program Why is this happening that euBmp ends up: euBmp =3D {{},{}} pal=3DeuBmp[1] pixels=3DeuBmp[2] w=3Dlength(pixels[1]) -- crashes here obviously I think the use of xpmConvertToNumber(data[x]) is Botched because data[x] is already a number and is returned as 0 just a guess_ta_mate of course...... I'm not a win32lib guru so could someone look at the attached ex.err file and tell me what the createDIB facility is doing to the .xpm ------=_NextPart_000_0010_01C04A47.E07A0380 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>My deepest appologies to = all,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I reinstalled Euphoria and the problem = went=20 away</FONT></DIV> <DIV><FONT face=3DArial size=3D2>nearest I can figure GET.E had become=20 corrupt...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>THANKS DEREK, ROBERT</FONT></DIV> <DIV><FONT face=3DArial size=3D2><A=20 <DIV> </DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Ddparnell at BIGPOND.NET.AU = href=3D"mailto:dparnell at BIGPOND.NET.AU">Derek=20 Parnell</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20 = </A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 09, = 2000 5:53=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Win32lib=20 (xpmConvertToNumber(data[x]))</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>I'm on to it! </FONT></DIV> <DIV>------<BR>Derek Parnell<BR>Melbourne, Australia<BR>(Vote [1] The = Cheshire=20 Cat for Internet Mascot)<BR></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Deuman at BELLSOUTH.NET = href=3D"mailto:euman at BELLSOUTH.NET">Euman</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20 = </A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 09, = 2000 8:20=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Win32lib=20 (xpmConvertToNumber(data[x]))</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>Hi Win32Lib guru's</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have become major frustrated as = I'm sure=20 Robert is</FONT></DIV> <DIV><FONT face=3DArial size=3D2>given the fact that I presented = ideas=20 that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the translator was crashing = programs=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>when in fact </FONT><FONT = face=3DArial=20 size=3D2>win32lib seems to be the culprit.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I used Judith's IDE with Win32Lib = v.54=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>PointerXpm is the first .xpm=20 called</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>First off, the .xpm is being read = into the=20 program</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Why is this happening = that</FONT></DIV> <DIV><FONT face=3DArial size=3D2>euBmp ends up:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>euBmp =3D {{},{}}</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pal=3DeuBmp[1]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>pixels=3DeuBmp[2]</FONT></DIV> <DIV><FONT face=3DArial size=3D2>w=3Dlength(pixels[1]) -- crashes = here=20 obviously</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I think the use of = xpmConvertToNumber(data[x])=20 is Botched</FONT></DIV> <DIV><FONT face=3DArial size=3D2>because data[x] is already a number = and is=20 returned as 0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>just a guess_ta_mate of=20 course......</FONT></DIV> <DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'm not a win32lib guru so could=20 someone</FONT></DIV> <DIV><FONT face=3DArial size=3D2>look at the attached ex.err file = and tell=20 me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>what the createDIB facility is = doing to=20 ------=_NextPart_000_0010_01C04A47.E07A0380--