How to handle OnSecurityProblem() to suppress security warnings in a plain C application?

Unanswered How to handle OnSecurityProblem() to suppress security warnings in a plain C application?

  • Wednesday, April 11, 2012 3:54 PM
     
     
    Hi!

    I am using IWebBrowser2 in my C application and am trying to suppress the invalid certificate security warning that is displayed when I navigate to a particular site on HTTPS.

    I have followed the discussion on the thread and have been able to override the QueryService() [Line: 456] method in IServiceProvider Interface.

    Although QueryService() is getting called, there are no requests for the IHttpSecurity interface.

    I believe that I need to override OnSecurityProblem() to suppress the security warning.

    Here is the code and I would appreciate any clues on what I am missing or if there are any alternate ways to achieve the same objective.

    Thanks in advance.

    Iman Mukherjee