﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
983	InetGet* functions failing under XP SP2	idbirch	Valik	"These functions don't work for me at all under WinXP SP2 however work fine on my Win7 machine. Example using InetGetSize:

{{{
$test = InetGetSize(""http://support.easystreet.com/easydsl/testfile.bin"")
msgbox (0,""dwd"", $test)
}}}


{{{
>""C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe"" /run /beta /ErrorStdOut /in ""F:\test3.au3"" /autoit3dir ""C:\Program Files\AutoIt3\beta"" /UserParams    
+>11:30:20 Starting AutoIt3Wrapper v.1.10.1.14    Environment(Language:0409  Keyboard:00000809  OS:WIN_XP/Service Pack 2  CPU:X86  ANSI)
>Running AU3Check (1.54.15.0)  from:C:\Program Files\AutoIt3\beta
+>11:30:20 AU3Check ended.rc:0
>Running:(3.3.1.0):C:\Program Files\AutoIt3\beta\autoit3.exe ""F:\test3.au3""    
!>11:30:20 AutoIT3.exe ended.rc:-1073741819
+>11:30:22 AutoIt3Wrapper Finished
>Exit code: -1073741819    Time: 1.873
}}}


{{{
Environment = 3.3.1.0 under  WIN_XP/Service Pack 2 X86
}}}

Running under 3.3.0.0 the filesize is returned correctly.  Same issue for this script (which also works fine under Win7):


{{{
$size = 52345034

$hDownload = InetGet(""http://support.easystreet.com/easydsl/testfile.bin"", @TempDir & ""\testfile.bin"",1,1)
$timer = TimerInit()

Do
	Sleep(1000)
	If TimerDiff($timer) > 60000 Then 
		InetClose($hDownload)
		$Aborted = True
	EndIf
	
Until InetGetInfo($hDownload, 2)    ; Check if the download is complete.

Local $nBytes = InetGetInfo($hDownload, 0)
InetClose($hDownload)   ; Close the handle to release resourcs.
MsgBox(0, """", ""Bytes read: "" & $nBytes)
}}}


{{{
>""C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe"" /run /beta /ErrorStdOut /in ""F:\test.au3"" /autoit3dir ""C:\Program Files\AutoIt3\beta"" /UserParams    
+>11:44:33 Starting AutoIt3Wrapper v.1.10.1.14    Environment(Language:0409  Keyboard:00000809  OS:WIN_XP/Service Pack 2  CPU:X86  ANSI)
>Running AU3Check (1.54.15.0)  from:C:\Program Files\AutoIt3\beta
F:\test.au3(9,106) : ERROR: InetGet() [built-in] called with wrong number of args.
$hDownload = InetGet(""http://support.easystreet.com/easydsl/testfile.bin"", @TempDir & ""\testfile.bin"",1,1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
F:\test.au3 - 1 error(s), 0 warning(s)
!>11:44:33 AU3Check ended.rc:2
>Running:(3.3.1.0):C:\Program Files\AutoIt3\beta\autoit3.exe ""F:\test.au3""    
!>11:44:35 AutoIT3.exe ended.rc:-1073741819
+>11:44:36 AutoIt3Wrapper Finished
>Exit code: -1073741819    Time: 3.170
}}}
I can't run this one under 3.3.0.0 for obvious reasons.

"	Bug	closed	3.3.1.1	AutoIt	3.3.1.0	None	Fixed		
