Custom Query
Results (295 - 297 of 3901)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1037 | Fixed | tagNMHDR not working on x64 | Jpm | ProgAndy |
| Description |
The definition of tagNMHDR in StructureConstants.au3 is wrong. It is Global Const $tagNMHDR = "hwnd hWndFrom;int IDFrom;int Code" whereas it should be Global Const $tagNMHDR = "hwnd hWndFrom;int_ptr IDFrom;int Code" For this reason, many UDFs do not work when running AutoIt in 64bit-version. |
|||
| #1040 | Fixed | _ScreenCapture_Capture(): GDI object leak with cursor capture | Jpm | rover |
| Description |
The returned bitmap handles from _WinAPI_GetIconInfo() are not deleted. (only $aIcon[4] bitmask has a valid handle when used with cursor) modified _ScreenCapture_Capture() with added error handling in attached file Environment = 3.3.0.0 under WIN_XP/Service Pack 2 X86 #include <ScreenCapture.au3>
Global $hBitmap, $hProcess, $aGDIObjs
$hProcess = _WinAPI_GetCurrentProcess()
If @error Then $hProcess = 0xFFFFFFFF
While 1
Sleep(50)
$hBitmap = _ScreenCapture_Capture("", 0, 0, 400, 300, True)
_WinAPI_DeleteObject($hBitmap)
$aGDIObjs = DllCall("user32.dll", "int", "GetGuiResources", "hwnd", $hProcess, "int", 0)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : GDI Objects = ' & $aGDIObjs[0] & @CRLF)
If $aGDIObjs[0] > 40 Then Exit
WEnd
|
|||
| #1048 | Fixed | _WinAPI_EnumDisplayDevices() Example in Help-File wrong | Jpm | KaFu |
| Description |
; HiHo Devs, ; the example for _WinAPI_EnumDisplayDevices() in the help-file ; seems to be wrong. See attached function _Main_OLD() for the ; org example and _Main_NEW() for my proposed new example ; Best Regards #AutoIt3Wrapper_Au3Check_Parameters= -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 #include <WinAPI.au3> Opt('MustDeclareVars', 1) _Main_OLD() Func _Main_OLD()
EndFunc ;==>_Main _Main_NEW() Func _Main_NEW()
EndFunc ;==>_Main |
|||
