I am currently using this function inside my program.
void CBar::DocumentComplete(IDispatch *pDisp, VARIANT *URL)
How to make the BSTR value inside URL->bstrVal
available for the whole program? I need to access the url开发者_开发百科 value from other function.
When you use this function (call it), you have the URL and can access the bstrVal member.
精彩评论