The other day mikeytown2 posted one post in HTTP UDF's thread that got me thinking if there is better (different) method to send requests through the HTTP protocol to HTTP servers. There is Winhttp.dll that ships with windows and that is its main purpose. I couldn't find any examples of using this dll in AutoIt, so I came up with this. Microsoft about Windows HTTP Services: Microsoft Windows HTTP Services (WinHTTP) provides developers with an HTTP client application programming interface (API)
It is strange. Currently I cannot reproduce the error no matter what I do. I only get it to crash if I use _WinHttpReceiveResponse outside of __WINHTTP_STATUS_CALLBACK now.
AutoIt:3.3.6.1 X64, AutoIt:3.3.6.1 X86, AutoIt:3.3.7.8/X64 AutoIt:3.3.7.8/X86 (Os:WIN_7/SP1/X64 OSLang:0407)
This was the script: #AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include "WinHttp.au3"
#include "Debug.au3"
ConsoleWrite( _DebugBugReportEnv( ) & @CRLF)
Opt("MustDeclareVars",