Jump to content
Sign in to follow this  

_GUICtrlRichEdit_Create seems to put a lock on error handling

Recommended Posts

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? 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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...