Opened 15 years ago

Closed 15 years ago

#671 closed Bug (Fixed)

Hard crash when using $WS_EX_MDICHILD

Reported by: anonymous Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: WS_EX_MDICHILD, crash, GUI, child Cc:


This simple example bellow should reproduce a hard crash of the script:

#include <WindowsConstants.au3>

;$hParent = GUICreate("")

GUICreate("", 200, 100, -1, -1, BitOR($WS_POPUP, $WS_CHILD), $WS_EX_MDICHILD);, $hParent)
GUICreate("");, -1, $WS_EX_MDICHILD)


If i uncomment the $hParent part, then scrip will not crash.
Sometimes there is message box saing (title is AutoIt Error): Error allocating memory.

Perhaps it's wrong usage of the style, but i don't think that script should crash like this.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Valik

  • Milestone set to
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Valik.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.