Emil
2006-05-19 08:18:02 UTC
Hi all,
I do not belive it!! I tried to obtain the certificate for an SSL server
(http connectio) but I cannot. I use "INTERNET_OPTION_SECURITY_CERTIFICATE"
or "INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT", calling with
InternetQueryOption (or CInternetSession::QueryOption). Dosen't matter what
option I have the function fails and the result is allways
ERROR_WINHTTP_INCORRECT_HANDLE_TYPE (The type of handle supplied is incorrect
for this operation.).
Knows anybody how can I do this? Knows someone a piece of code where
InternetQueryOption realy runs? Or is there another way to do this. I'm
desparate...
Thanks in advance.
Regards,
Emil
I do not belive it!! I tried to obtain the certificate for an SSL server
(http connectio) but I cannot. I use "INTERNET_OPTION_SECURITY_CERTIFICATE"
or "INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT", calling with
InternetQueryOption (or CInternetSession::QueryOption). Dosen't matter what
option I have the function fails and the result is allways
ERROR_WINHTTP_INCORRECT_HANDLE_TYPE (The type of handle supplied is incorrect
for this operation.).
Knows anybody how can I do this? Knows someone a piece of code where
InternetQueryOption realy runs? Or is there another way to do this. I'm
desparate...
Thanks in advance.
Regards,
Emil