Hi,

I have an IHTMLElement and want the tag name.
HRESULT get_tagName(ref BSTR);


IHTMLElement htmlElement;
BSTR tagName;
...
htmlElement.get_tagName(tagName);
writeln(to!string(*tagName));

I tried different combinations but the result is an number
or a single character instead of the tag name.

How to do the conversion correct?

Kind regards
André

Reply via email to