Custom Query


Show under each result:

Results (97 - 99 of 3856)

Ticket Resolution Summary Owner Reporter
#610 Fixed WinAPI.au3 _WinAPI_CreateFile() does not return 0 on failure as specified in beta help Gary Bowmore

Tested on WinXP SP3 AutoIt Beta WinAPI.au3

This may be either a documentation issue or a UDF bug

From Beta Help Return Value

Success: The open handle to a specified file Failure: 0

From testing I get 0xFFFFFFFF returned on failure

#Include <WinAPI.au3>
$sfile = "C:\I do not exist.txt" 
$hFile = _WinAPI_CreateFile($sFile, 2, 2, 2)
MsgBox(0,"File Handle", $hFile)
#617 Fixed GDI+: corrected help file examples for six ImageGet functions Gary rover

corrections to six GDI+ ImageGet help file examples in beta

bmp instead of jpg file extension for ImageSaveToFile in three examples (Thanks Malkey) removed testing include line in submitted examples.

#619 Fixed _GuiCtrlListView_SetItemSelected Problem (confirmed problem) Gary anonymous

Here was the original bug report -

In function _GUICtrlListView_SetItemSelected,has memory problem

$pMemory = _MemInit($hWnd, $iSize, $tMemMap) _MemWrite($tMemMap, $pItem, $pMemory, $iSize) $iResult = _SendMessage($hWnd, $LVM_SETITEMSTATE, $iIndex, $pItem, 0, "wparam", "ptr") _MemFree($tMemMap)

Where $pItem should be changed to $pMemory.

I confirmed the problem under Vista. Unless $pMemory is used, this function fails to set desktop items selected. Under XP I seem to remember it crashing explorer as well, but I can't re-test that.

Note: See TracQuery for help on using queries.