[Migrated content. Thread originally posted on 22 October 2010]
Hi :-)I'm trying to make a connection to an https web page. C$SOCKET is not able to handle https connection (properly because of the encryption).
Therfor I'm using - or trying anyway - WinInet.dll which should be able to give me the desired possibilities to handle https communication on port 443.
But I have a problem with the call to InternetOpenA. It gives me a handle all right - allthough the handle has an odd value. But when I try to use this handle with InternetConnectA I get a NULL return code.
The following call to GetLastError gives me a return code of 6, which means Invalid Handle.
Does anyone have any experience with the WinInet.dll ? Please se the attached test program.
Any help would be much appreciated.
Regards
Steen Bjerge



