Modify

Opened 16 years ago

Closed 16 years ago

#671 closed Bug (Fixed)

Hard crash when using $WS_EX_MDICHILD

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

Description

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)

GUISetState(@SW_SHOW)

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 16 years ago by Valik

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

Fixed in version: 3.2.13.11

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

Action
as closed The owner will remain Valik.
Author


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

 
Note: See TracTickets for help on using tickets.