1. Win32Lib Tutorial
Hello,
I have been around here for a while but have just recently started getting
interested in Euphoria programing for Windows.
Along these lines I decided that I would run through the Win32Lib Tutorial
that a lot of the more avid Euphorians have recomended in the past months.
First off- I think that the folks that put the package together desirve
great praise for their efforts. The interface is simple and the texts are
quite adequate so far. (I havn't gotten very far when I noticed this
problem) Three cheers to everyone involved in putting together the Win32lib
tutorial and also to those that put Win32Lib together in the first place. I
believe that Dave Cunny is responsible for most of it but have noticed that
there are also others that have been contributing to the code. Good work.
Second-- The problem I have noticed.
tutor3b.exw runs without any problems as long as I only use a mouse to
activate the buttons for showing a lesson or running a demo. However
everytime I use the keyboard to navigate the buttons using Tab to change
focus and Enter to press the button the program errors out with a dos box
that says--
call to onKey_Button1() via routine-id should pass 1 argument, not 2
^^^ call-back from Windows
... called from C:\EUPHORIA\Win32\Tutor3B\win32lib.ew:13074 in procedure
WinMain
()
... called from C:\EUPHORIA\Win32\Tutor3B\Tutor3.exw:348
--> see ex.err
Attached to this message is the 'ex.err' file that is 9,744 bytes long
acording to windows properties dialog box.
For those that are interested.
My setup is:
P3-500
128M Ram
Registered Euphoria 2.2
Win32Lib version .45r is int the Tutor3B directory
there is not a copy of win32lib in the include directory
The Tutor3B.doc file indicates that I need to use .45r
I have not seen this problem posted in the last several months so either no
one has tried using the keyboard with Tutor3.exw, this is a new problem with
version .45r or I have something on my system set up wrong when running
Tutor3.exw
Glen
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
2. Re: Win32Lib Tutorial
Glen,
Wolfgang has a new beta which doesn't seem to have this problem.
The 'beta' is at:
http://www.king.igs.net/~wolfritz/EUWinTutor.zip ( 227k. )
Dan Moyer
----- Original Message -----
From: "Glen Brown" <gbrown7777 at YAHOO.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, September 14, 2000 1:11 AM
Subject: Win32Lib Tutorial
> Hello,
>
> I have been around here for a while but have just recently started getting
> interested in Euphoria programing for Windows.
>
> Along these lines I decided that I would run through the Win32Lib Tutorial
> that a lot of the more avid Euphorians have recomended in the past months.
>
> First off- I think that the folks that put the package together desirve
> great praise for their efforts. The interface is simple and the texts are
> quite adequate so far. (I havn't gotten very far when I noticed this
> problem) Three cheers to everyone involved in putting together the
Win32lib
> tutorial and also to those that put Win32Lib together in the first place.
I
> believe that Dave Cunny is responsible for most of it but have noticed
that
> there are also others that have been contributing to the code. Good work.
>
> Second-- The problem I have noticed.
>
> tutor3b.exw runs without any problems as long as I only use a mouse to
> activate the buttons for showing a lesson or running a demo. However
> everytime I use the keyboard to navigate the buttons using Tab to change
> focus and Enter to press the button the program errors out with a dos box
> that says--
>
> call to onKey_Button1() via routine-id should pass 1 argument, not 2
>
> ^^^ call-back from Windows
> ... called from C:\EUPHORIA\Win32\Tutor3B\win32lib.ew:13074 in procedure
> WinMain
> ()
> ... called from C:\EUPHORIA\Win32\Tutor3B\Tutor3.exw:348
> --> see ex.err
>
> Attached to this message is the 'ex.err' file that is 9,744 bytes long
> acording to windows properties dialog box.
>
> For those that are interested.
> My setup is:
> P3-500
> 128M Ram
>
> Registered Euphoria 2.2
> Win32Lib version .45r is int the Tutor3B directory
> there is not a copy of win32lib in the include directory
> The Tutor3B.doc file indicates that I need to use .45r
>
>
>
> I have not seen this problem posted in the last several months so either
no
> one has tried using the keyboard with Tutor3.exw, this is a new problem
with
> version .45r or I have something on my system set up wrong when running
> Tutor3.exw
>
> Glen
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
3. Re: Win32Lib Tutorial
<> ...oops, guess no-one, myself included, uses the keyboard
Seems I changed all my examples for newer versions of win32lib, but didn't
change tutor3.exw itself.
If you're up to patching it yourself,
...just change the two occurances of:
(integer key) to (integer key,integer shift)
...or download the 'beta', which also corrects some text referring to
onKeyPress[] routines.
I'll try and get this fixed tonite, in any case...
Sorry, Wolf