Link to home
Start Free TrialLog in
Avatar of ed987
ed987

asked on

createElement IHTMLScriptElement

IHTMLElement       *elem = NULL;
sph->createElement (bs = ::SysAllocString(L"<script>"), &elem);

how to get IHTMLScriptElement out of IHTMLElement *elem ?
i tried using CComQIPtr< IHTMLScriptElement, &IID_IHTMLScriptElement > sce=elem; but sce->put_text(...); fails to do anything
ASKER CERTIFIED SOLUTION
Avatar of mahesh1402
mahesh1402
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin