tags:

views:

13

answers:

1

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.

A: 

When you use this function (call it), you have the URL and can access the bstrVal member.

harper