Custom Query (3927 matches)
Results (46 - 48 of 3927)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #591 | No Bug | _GUICtrlListBox_AddString goes loopy when passing array instead of string | ||
| Description |
First of all, I know you aren't suppose to pass an array to the $sText parameter of _GUICtrlListBox_AddString(). It was a typo that led me to discover this, and if I remember correctly, Valik once said that Autoit shouldn't hard crash under any circumstance. When passing an array (In this case from StringSplit) to _GUICtrlListBox_AddString(), it both makes Autoit Hard-crash as well as the Dr. Watson Post-mortem debugger. This is the shortest code I can reproduce this with: #Include <GUIListBox.au3>
$hForm = GUICreate("Test", 410, 492, 193, 125)
$hList = GUICtrlCreateList("", 16, 16, 377, 383)
$azTemp = StringSplit("Test\Hello", "\")
_GUICtrlListBox_AddString($hList, $azTemp)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
EndSwitch
WEnd
This first creates the infamous "Such-and-such has encountered a problem and needs to close" dialog. Next, after a few seconds, the same dialog appears for the Dr. Watson Post-mortem debugger (drwtsn32.exe). The Autoit script does not close, nor does it respond to an "End Process" from the Task Manager. The only way to kill the script is to kill drwtsn32.exe. SciTE then reports the exit code to be : !>19:42:54 AutoIT3.exe ended.rc:-1073740972 Operating System: Windows XP (English) SP2. |
|||
| #607 | Works For Me | _GUICtrlListView_SetItemSelected Problem | ||
| Description |
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) |
|||
| #1946 | Fixed | _WordCreate Error? | ||
| Description |
But in 3.3.6.1 it can work. Code: $oWordApp = _WordCreate(@WorkingDir & "\" & $sFileName) $oDoc = _WordDocGetCollection ($oWordApp, 0) _WordDocFindReplace($oDoc, "<NO>", $sXQNo) Error msg: --> Word.au3 Error from function _WordDocOpen, $_WordStatus_InvalidObjectType --> Word.au3 Error from function _WordDocGetCollection, $_WordStatus_InvalidObjectType --> Word.au3 Error from function _WordDocFindReplace, $_WordStatus_InvalidDataType |
|||
