Modify

Opened 3 years ago

Closed 17 months ago

#3903 closed Bug (Fixed)

_GuiCtrlTab_GetItem() fails to retrieve Tab text in AutoIt 3.3.16.0

Reported by: pixelsearch Owned by: Jpm
Milestone: 3.3.17.0 Component: Standard UDFs
Version: 3.3.16.0 Severity: None
Keywords: Cc:

Description

Issue reported by user Nop72 in this Forum link :
https://www.autoitscript.com/forum/topic/208604-_guictrltab_getitem-fails-to-retrieve-item-text-since-autoit-version-33160/

Basically, it seems that these 2 lines were working fine in AutoIt 3.3.14.5 :

GuiTab.au3 (3.3.14.5)

Func _GUICtrlTab_GetItem($hWnd, $iIndex)
    ...
    Local $tagTCITEMEx = $tagTCITEM & ";ptr Filler" ; strange the Filler is erased by TCM_GETITEM : MS Bug!!!
    Local $tItem = DllStructCreate($tagTCITEMEx)
    ...
EndFunc

Now the changes made in AutoIt 3.3.16.0 creates an issue (tab text isn't retrieved any more) :

GuiTab.au3 (3.3.16.0 , 3.3.16.1-rc1 , 3.3.16.1-rc2)

Func _GUICtrlTab_GetItem($hWnd, $iIndex)
    ...
;~  Local $tagTCITEMEx = $tagTCITEM & ";ptr Filler" ; strange the Filler is erased by TCM_GETITEM : MS Bug!!!
    Local $tItem = DllStructCreate($tagTCITEM)
    ...
EndFunc

More details with full example and resulting pics in the Forum link indicated above.

Change History (2)

comment:1 Changed 3 years ago by Jpm

  • Owner set to Jpm
  • Status changed from new to assigned

Thanks to Danyfirex I have a working solution to OutProcess between X86 and X64
A lot of verification to have the outProcess working in all UDF
for instance _GUICtrlTAb_SetItem is impacted
so wait a little bit before I can fix all

comment:2 Changed 17 months ago by Jpm

  • Milestone set to 3.3.17.0
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [13019] in version: 3.3.17.0

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.