add value to node..
-
Hi, May i know how can i add a value for an Xmlnode.. using msxml..when im trying to use BSTR bstr2; Node1->get_text(&bstr2); Node->put_text(&bstr2); im getting the below error error C2664: L::IXMLDOMNode::put_text' : cannot convert parameter 1 from 'BSTR * ' to 'BSTR'
-
Hi, May i know how can i add a value for an Xmlnode.. using msxml..when im trying to use BSTR bstr2; Node1->get_text(&bstr2); Node->put_text(&bstr2); im getting the below error error C2664: L::IXMLDOMNode::put_text' : cannot convert parameter 1 from 'BSTR * ' to 'BSTR'
p_1960 wrote:
Node->put_text(&bstr2);
Should be
Node->put_text(bstr2);
:)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]