1. win32lib crashes
This is a multi-part message in MIME format.
------=_NextPart_000_3bb3_2bd7_ac6
Hi all
I have a small problem with win32lib: my program crashes when it tries to
use setText with an EditText. I get the message box saying exw has commited
an illegal operation, but I think it is win32lib causing the problem. I
can't see why it is crashing, setText works fine every other time, but this
time I get a bunch of invalid page faults and exception errors.
I have attatched my source code. It is the start of a program to simulate
motion of flying objects.
Daryl van den Brink
------=_NextPart_000_3bb3_2bd7_ac6
Content-Type: application/octet-stream; name="projectiles.exw"
Content-Transfer-Encoding: base64
2. Re: win32lib crashes
This is a multi-part message in MIME format.
------=_NextPart_000_0048_01C0E024.34BFBF80
charset="Windows-1252"
3. Re: win32lib crashes
On 19 May 2001, at 5:26, Derek Parnell wrote:
> Hi Daryl,
> Matt is correct. There is an infinite recursive loop being processed.
>
> I've attached another way of handing this situation. By using the
> sethandler() routine instead of onChange[], you can easily turn the event
> handlers on or off at will.
That got my attention.
> I've also used openDialog() instead of using setEnable().
openDialog has not been declared
openDialog(frmVelocity)
What win32lib version is needed?
Kat
4. Re: win32lib crashes
----- Original Message -----
From: "Kat" <gertie at PELL.NET>
To: "EUforum" <EUforum at topica.com>
Subject: Re: win32lib crashes
> > I've attached another way of handing this situation. By using the
> > sethandler() routine instead of onChange[], you can easily turn the
event
> > handlers on or off at will.
>
> That got my attention.
Well actually you can do the same sort of thing by setting onChange[] to -1.
That would have the effect of turning off triggering the handler.
> > I've also used openDialog() instead of using setEnable().
>
> openDialog has not been declared
> openDialog(frmVelocity)
>
> What win32lib version is needed?
The one (v0.55.1) at
http://users.bigpond.com/ddparnell/euphoria/euphoria.htm
------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."
5. Re: win32lib crashes
Thanks everyone for your help.
Derek, if I use openDialog(), then click on the main window, it flashes in
front of the dialog box for a split second. Another annoying thing is that
it will maximize if you double click the title bar. This also happens with
openWindow(theWindow, Modal). Temporarily disabling the main window solves
both these problems.
Thanks,
Daryl van den Beink