Modify

Opened 17 years ago

Closed 17 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 by Valik, 17 years ago

Milestone: 3.2.13.11
Owner: set to Valik
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.11

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.