Custom Query (3927 matches)
Results (409 - 411 of 3927)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1321 | Fixed | DllStruct Element Name Limits | ||
| Description |
I couldn't find this any where in the documentation, but DllStructCreate and the related functions do have a limit to what characters can be used for an element name. So far, we found the following letters are allowed: A-Z,a-z,0-9 (There are more, but for brevity sake, I'll only list these.) I had 2 questions about this limit. Why does the element names not allow underscores while C structs allow them for names, and can we add these limits to the DllStructCreate (and possibly others) help entries? A few DllStructs I have been trying to use from MSDN contain underscores, and it took some experimenting to discover why my code kept failing with improper Struct variables, until I finally took out the underscores from the names on a hunch. The forum post where I asked about this is here: http://www.autoitscript.com/forum/index.php?showtopic=106027 |
|||
| #1322 | Fixed | ControlCommand with "GetSelected" used on ListView crashes the script | ||
| Description |
To reproduce the bug, just open some Explorer window (folder), and run this script: ControlCommand("[CLASS:CabinetWClass]", "", "SysListView321", "GetSelected")
MsgBox(64, 'Title', 'Crash!') ;Not shown
I know that "GetSelected" should be used on Edit control, but i came across this issue trying to get the text dinamically (in loop - for current control, using ControlGetFocus). And i think in any case script should not crash. [b]P.Sb Tested on WinXP SP2. |
|||
| #1323 | Fixed | Wrong size of some types in DllStructCreate() | ||
| Description |
Documentation says that the size of 'ptr' with DllStructCreate() is 4 bytes and unlike with, for example, 'int_ptr' there is no mention of differences when x64 AutoIt is used. I would assume it's the same thing with other alike types. $tStructure = DllStructCreate("ptr")
$iSize = DllStructGetSize($tStructure)
ConsoleWrite("Size of ptr = " & $iSize & " bytes" & @CRLF)
MsgBox(64, "ptr", "Size = " & $iSize)
Link to the post with the results of that test http://www.autoitscript.com/forum/index.php?showtopic=105150&view=findpost&p=749787. |
|||
