Skip to content

Using HttpRequest.dll and WinsockTls.ocx in the same VBA project #49

@Docent24

Description

@Docent24

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?.. =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions