12157 The application experienced an internal error loading the SSL libraries

 

dear friends, can anybody give some hints ?

 
What application ? What library ? What are you talking about ?
 
Alain Verleyen:
What application ? What library ? What are you talking about ?

well, i want to read SSL site, here is part of code:

                        DWORD dwSeqFlags = 0;
                        DWORD dwBuffLen = sizeof(dwSeqFlags);

                        InternetQueryOption(hRequest,INTERNET_OPTION_SECURITY_FLAGS,(LPVOID)&dwSeqFlags,&dwBuffLen);

                        dwSeqFlags |= INTERNET_FLAG_IGNORE_CERT_CN_INVALID | INTERNET_FLAG_IGNORE_CERT_DATE_INVALID | 
                                           SECURITY_FLAG_IGNORE_UNKNOWN_CA | INTERNET_OPTION_CLIENT_CERT_CONTEXT;

                        InternetSetOption(hRequest,INTERNET_OPTION_SECURITY_FLAGS,&dwSeqFlags,sizeof(dwSeqFlags));

                        if (hRequest != NULL) 
                        {
                
                                BOOL bSend = HttpSendRequest(hRequest,NULL,0, NULL,0);
                                if (!bSend)
                                {
                                        printf("%d  %ls ",GetLastError(),TEXT("HttpSendRequest\r\n"));
                                }
                        .....
                        .....
                        .....
                        }



HttpSendRequest(...) gave me this error....

 
Denis Sartakov:

well, i want to read SSL site, here is part of code:



HttpSendRequest(...) gave me this error....

You should check with a search engine, you will have more chance to find an answer.

Why don't you just use WebRequest() mql function ?