1. First bug report... (2.0 alfa)

When I try the winwire demo, if the DOS-like window where I issue the
command is in the upper left corner of my 1024x768 screen, it runs okay,
but if the command window is in the lower right side of the screen, I get
the folowing error:
----------------------------------------------------------------------------
---
Full screen or in a window? (F/W) w

Winwire.exw:169 in procedure draw_line()
type_check failure, ok is -1.5131e+009
. . . called from winwire.exw:195 in procedure display()
. . . called from winwire.exw:375 in procedure spin()
. . . called from winwire.exw:683 in function WindProc()
^^^ call-back from Windows
. . .  called from winwire.exw:679 in procedure WinMain()
. . .  called from winwire.exw:795
--> see ex.err

D:\EUPHORIA\DEMO\WIN32>
-------------------------------------------------------------------------
It looks like this alfa doesn't like the big screen...

Regards.
Jesus.

new topic     » topic index » view message » categorize

2. Re: First bug report... (2.0 alfa)

Here are some early bug reports on v2.0:

Jesus Consuegra writes:
> Winwire.exw:169 in procedure draw_line()
> type_check failure, ok is -1.5131e+009

Thanks for reporting this. I've now changed the private variable ok
in draw_line() to be an atom. In Euphoria the integer type can only go to
to +/-1e9. The WIN32 docs for SelectObject say it returns
a Handle. I guess on Windows NT the Handle value can be quite large.

Peter Blue (private e-mail) found that get_pixel() in mode 19, where you
read a single pixel at a time, will be returned as a "signed" value. i.e
colors
above 127 will be returned as negative numbers but will display correctly
if you write them to the screen again. This bug was actually introduced in
v1.5a. I've fixed this one for the next release.

David Cuny (private e-mail) has discovered that if you use routine_id()
in version 2.0 and you bind or shroud your program you will have problems
because your names are mangled down to short names and routine_id
won't find what it's looking for.

David Cuny has asked for more call-back addresses. This will be done in
the next release. For now, try to use one window procedure to handle
multiple
windows. It can examine the window handle that's passed as the first
parameter.

ViKas Patel writes:
>  I wanted to know if it is possible to automatically minimize the DOS
> console, and if there is a way to set the coordinates for Message Boxes in
> Win32.

In this alpha release you get a DOS-like console automatically.
In the future you will be able to run with or without a console.

The Windows message box doesn't allow you to choose the coordinates.

Regards,
    Rob Craig
    Rapid Deployment Software

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu