Re: put_screen_char() doesn't work with EX under Windows

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

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C0D8A7.4693C000
	charset="iso-8859-2"

First thing, EX.EXE will not work with MS-Windows it's sole purpose is DOS

try instead EXW.EXE designed for Windows programs.

You'll need a non-dos procedure to write to a Window in Windows
Win32lib uses its own special routines for this.
Read the documentation that comes with win32lib or if your
ready for API, look into Jacques Dechenes WinAPI routines.


Euman
  ----- Original Message -----
  From: martin.stachon at worldonline.cz
  To: EUforum
  Sent: Wednesday, May 09, 2001 12:08
  Subject: put_screen_char() doesn't work with EX under Windows



  When I tried to use put_screen_char() with Ex.exe (under Win98) i got this
error:

  C:\EUPHORIA\include\image.e:337 in procedure put_screen_char()
  slice ends past end of sequence (32 > 2)
      line = 1
      column = 65'A'
      char_attr = {57'9',2}
      scr_addr = 753792
      vc = {1,3,25,80'P',0,0,32' ',8}
      overflow = -30

  It is a bug or put_screen_char() cannot be used under Windows?


  =

------=_NextPart_000_0008_01C0D8A7.4693C000
Content-Type: text/html;
	charset="iso-8859-2"
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-2">
<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>First thing, EX.EXE will not work with =
MS-Windows=20
it's sole purpose is DOS</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>try instead EXW.EXE designed for =
Windows=20
programs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You'll need a non-dos procedure to =
write to a=20
Window in Windows</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Win32lib uses its own special routines =
for=20
this.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Read the documentation that comes with =
win32lib or=20
if your</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ready for API, look into Jacques =
Dechenes WinAPI=20
routines.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Euman</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=3Dmartin.stachon at worldonline.cz=20
  =
href=3D"mailto:martin.stachon at worldonline.cz">martin.stachon at worldonline.=
cz</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DEUforum at topica.com=20
  href=3D"mailto:EUforum at topica.com">EUforum</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, May 09, 2001 =
12:08</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> put_screen_char() =
doesn't work=20
  with EX under Windows</DIV>
<A =
  <DIV><FONT face=3D"Arial CE" =
size=3D2><EM>C:\EUPHORIA\include\image.e:337 in=20
  procedure put_screen_char() <BR>slice ends past end of sequence (32 =
&gt; 2)=20
  <BR>&nbsp;&nbsp;&nbsp; line =3D 1<BR>&nbsp;&nbsp;&nbsp; column =3D=20
  65'A'<BR>&nbsp;&nbsp;&nbsp; char_attr =3D =
{57'9',2}<BR>&nbsp;&nbsp;&nbsp;=20
  scr_addr =3D 753792<BR>&nbsp;&nbsp;&nbsp; vc =3D {1,3,25,80'P',0,0,32' =

  ',8}<BR>&nbsp;&nbsp;&nbsp; overflow =3D -30</EM></FONT></DIV>
  <DIV><FONT face=3D"Arial CE" size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3D"Arial CE" size=3D2>It is a bug or put_screen_char() =
cannot be=20
  used under Windows?<BR></DIV></FONT>
  <DIV><FONT face=3D"Arial CE"=20
  =
  =
href=3D"http://topica.com/u/?b1dd66.b2lJ88">http://topica.com/u/?b1dd66.b=
2lJ88</A>=20
  Or send an email To: EUforum-unsubscribe at topica.com This email was =
sent to:=20
  =
  =

------=_NextPart_000_0008_01C0D8A7.4693C000--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu