Sign in to follow this  
Followers 0
Spiff59

_GUICtrlRichEdit_Create seems to put a lock on error handling

4 posts in this topic

This causes the interpreter to hang within SciTE:

#include <GuiRichEdit.au3>
Global $hRichEdit, $Array[2][2]

$GUI = GUICreate("", 200, 200)
$hRichEdit = _GUICtrlRichEdit_Create($GUI, "", 10, 10, 680, 460)
MsgBox(0,"","About to freeze...")
$Array[1] = "X" ; bad reference to 2-dimension array should cause abend
MsgBox(0,"", "I'll never get this far!")

I don;t know if anyone wants to consider this a bug worthy of being addressed. If so, I'll post a BT.

Share this post


Link to post
Share on other sites



Which version of AutoIt are you using?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Which version of AutoIt are you using?

3.3.6.0 and 1.79 under XP Pro SP3.

Edit: Isn't hanging on your machine, I'm guessing? I get the first Msgbox(), never the second. No error, no process termination, it just goes into limbo. I do get the syntax error, and the task ends, when running a compiled version.

Edited by Spiff59

Share this post


Link to post
Share on other sites

I haven't tried it yet. It's just good practice to show which version you have when reporting bugs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0