Normal http requests (no ssl) does not seem to work.
The error returned by GetLastError() is 12157, which translate into:
ERROR_INTERNET_SECURITY_CHANNEL_ERROR
The application experienced an internal error loading the SSL libraries.
This is probably due to INTERNET_SECURE_FLAG used in HttpOpenRequestA().
A simple solution could be to select flags based on which type of protocol is used.
Normal http requests (no ssl) does not seem to work.
The error returned by
GetLastError()is12157, which translate into:ERROR_INTERNET_SECURITY_CHANNEL_ERRORThis is probably due to
INTERNET_SECURE_FLAGused inHttpOpenRequestA().A simple solution could be to select flags based on which type of protocol is used.