0

When I use the winhttp client application consecutive times, the WinHttpOpenRequest returns error 998.

bResults = WinHttpOpenRequest( hFileHttp.hConnect, L"POST", 
                                       urlCompo.lpszUrlPath, 
                                       NULL, WINHTTP_NO_REFERER, 
                                       WINHTTP_DEFAULT_ACCEPT_TYPES, 
                                       0);

Does anyone have an idea what causes this?

Dair
  • 15,910
  • 9
  • 62
  • 107
kapuya
  • 1
  • Error is [`0x000003E6` `ERROR_NOACCESS` "Invalid access to memory location."](http://alax.info/blog/1383), start with checking arguments passed to the API. – Roman R. May 24 '14 at 08:17
  • @RomanR.: so far there were no problems with the parameters, and there were no problems with the file sending process using the client application either, only after a couple of consecutive sending, that the WinHttpOpenRequest returns the system error 998 – kapuya May 26 '14 at 05:39

0 Answers0