IWebExplorer2::Navigate(..) (or Navigate2)
is failing to navigate some urls. Like while navigating following url: *https://www.facebook.com/dialog/oauth/?api_key=<MyKey>&redirect_uri=<MyUri>&state=NONE* , I am getting the error **Error reading characters of string** in **DISPID_NAVIGATEERROR**
.
......
wchar_t ws[MAX_PATH];
TCharToWide(url,ws,MAX_PATH);
VARIANT v; v.vt=VT_I4; v.lVal=0; //v.lVal=navNoHistory;
ibrowser->Navigate(ws,&v,NULL,NULL,NULL);
......
void TCharToWide(const wchar_t *src,wchar_t *dst,int dst_size_in_wchars){wcscpy(dst,src);}
Please could any one tell me what I am missing?
Thanks in advance.