Custom Query
Results (145 - 147 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1323 | Fixed | Wrong size of some types in DllStructCreate() | Valik | trancexx |
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. |
|||
#1355 | Fixed | Data types mixed | Valik | trancexx |
Description |
With new 3.3.2.0 version there are issue(s) with data types with DllCall() function. If I ask for dword AutoIt returns int. For example: $sFile = "NonExistingFile" $aCall = DllCall("kernel32.dll", "dword", "CreateFileW", _ "wstr", $sFile, _ "dword", 0x80000000, _ ; GENERIC_READ "dword", 0, _ ; prevent sharing "ptr", 0, _ "dword", 3, _ ; OPEN_EXISTING "dword", 0, _ "ptr", 0) $hFile = $aCall[0] ConsoleWrite("! " & $hFile & @CRLF) MsgBox(0, '$hFile is', $hFile & @CRLF) Same thing is for any parameter. If I do "dword*", 0 , i get int value returned. I could write an example with GdipBitmapGetPixel from gdiplus.dll if you need it to verify this additionally. For non-transparent white it will return -1 instead of asked (and proper) 4294967295 (0xFFFFFFFF). |
|||
#1357 | Rejected | New concatenation operator for Static | trancexx | |
Description |
Special concatenation operator with new Static is missing. This shows the problem: For $i = 0 To 100 ConsoleWrite(StringLen(_String()) & @CRLF) Next Func _String() Local Static $sString = "Variable That Would Exceed Script Line Limit If It's All Here" $sString &= "The Rest Of The Variable" ; <- This adds over and over Return $sString EndFunc |