how to get the VARIANT type URL as a CString from OnDocumentComplete in webbrowser2
"URL" here contains the url that has been completed. but it is a variant type. i want to as a CString type so that i can check it. i tried casting but it doesnt work. does anyone knows how to do it?Code:void MyDialog::OnDocumentCompleteExplorer1(LPDISPATCH pDisp, VARIANT FAR* URL) { }
- MFC style
- winxp
- vc6.0
thanks in advance!