I forgot to mention:
Commenting out StaticText1.text = str(x) and just displaying a msgbx every
100,000 works for millions of iterations.

kd

> While testing Windows printing crashing, I just discovered another Windows
> bug that has been masking much of my testing. Can anyone confirm this
> crashes on Windows:
>   
> 1. Drag a statictext and pushbutton to the window of a new project.
> 
> 2. Put the following in the pushbutton .action event:
> 
>   dim x as double
>   dim running as boolean
>   
>   running = true
>   while running
>     x = x + 1
>     StaticText1.text = str(x)
>     StaticText1.Refresh
>     if UserCancelled then exit
>   wend
> 
> 3. Run the project and push the button
>    (On a Mac compile and move to Windows, or remote debug to Windows).
> 
> On my XP Pro PC, it hangs the application with 100% processor usage at or
> around 20,000. Remote debugging to Windows runs until about 80,0000. The
> same project runs fine on a Mac.
> 
> Interestingly, when run fronm the Windows IDE, it often also crashes the RB
> IDE which then itself hangs with a nilobjectexception on relaunch.
> 
> Keith DeLong


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to