none
Why IHTMLWindow7::getComputedStyle call returns E_NOINTERFACE in Edge? RRS feed

  • Question

  • I am trying to get current style of an element in Edge by calling IHTMLWindow7::getComputedStyle but it fails with E_NOINTERFACE. Using the same code for IE 11 on the same computer returns valid style object. IHTMLElement2::get_currentStyle also does not work (this call just crashes Edge). What can I do to get current style of an element in Edge from external C++ code?
    Friday, July 29, 2016 2:39 PM

Answers

All replies