Modify

Opened 4 years ago

Closed 2 years ago

#3903 closed Bug (Fixed)

_GuiCtrlTab_GetItem() fails to retrieve Tab text in AutoIt 3.3.16.0

Reported by: pixelsearch Owned by: J-Paul Mesnage
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.

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 4 years ago

Owner: set to J-Paul Mesnage
Status: newassigned

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 by J-Paul Mesnage, 2 years ago

Milestone: 3.3.17.0
Resolution: Fixed
Status: assignedclosed

Fixed by revision [13019] in version: 3.3.17.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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