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.