Modify

Opened 15 years ago

Closed 14 years ago

#1797 closed Bug (Wont Fix)

Critical bug with WS_CHILD

Reported by: hunt Owned by:
Milestone: Component: AutoIt
Version: 3.3.6.1 Severity: None
Keywords: Cc:

Description

Compile this script with name GUI_PARENT.exe

$h_GUI = GuiCreate("GUIBUG", 400, 400, 300, 300, -1, -1)

While 1
	Sleep(30)
WEnd

After compiling run GUI_PARENT.exe and after this run this script:

#include <WindowsConstants.au3>

Local $hGUI = GUICreate("1", 100, 100, 300, 300, $WS_CHILD, -1, WinGetHandle("GUIBUG"))

; if to add here GuiDelete($hGUI) then bug not occured

ProcessClose("GUI_PARENT.exe")

Sleep(1) ; or other delay method

Exit ; after this command CPU 100%

CPU loading will 100%.
This bug appears if other exe this child window will close.

Change History (1)

comment:1 Changed 14 years ago by Jon

  • Resolution set to Wont Fix
  • Status changed from new to closed

You can't have a child window in another process.

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

Author


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

 
Note: See TracTickets for help on using tickets.