This case looks weird for me, but i try to explain what i discovered.
I have Access VBA project, where i use WinsockTls.ocx for local connection to Asterisk PBX, and WBA-web framework with HttpRequest.dll instead of WinHttp.WinHttpRequest.5.1 object for API requests.
So.... When i try to use HttpRequest.dll with active connection, made wth WinsockTls.ocx - i got strange error after HttpRequest.Send Method:
5: Invalid procedure call or argument
It seems like for all requests, even the basic ones.
If i drop WinsockTls.ocx connection - all executed perfectly.
Is it make any sense?.. =)