Click here to Skip to main content
16,021,560 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CInternetSession OpenURL Pin
Jochen Arndt14-May-18 2:29
professionalJochen Arndt14-May-18 2:29 
GeneralRe: CInternetSession OpenURL Pin
_Flaviu14-May-18 2:34
_Flaviu14-May-18 2:34 
GeneralRe: CInternetSession OpenURL Pin
_Flaviu14-May-18 23:00
_Flaviu14-May-18 23:00 
GeneralRe: CInternetSession OpenURL Pin
_Flaviu14-May-18 23:07
_Flaviu14-May-18 23:07 
GeneralRe: CInternetSession OpenURL Pin
Jochen Arndt15-May-18 0:01
professionalJochen Arndt15-May-18 0:01 
GeneralRe: CInternetSession OpenURL Pin
_Flaviu15-May-18 0:21
_Flaviu15-May-18 0:21 
GeneralRe: CInternetSession OpenURL Pin
Jochen Arndt15-May-18 0:31
professionalJochen Arndt15-May-18 0:31 
GeneralRe: CInternetSession OpenURL Pin
_Flaviu15-May-18 0:44
_Flaviu15-May-18 0:44 
I had tried to use CHtmlView::GetSource(), but the string was exactly like the one from CInternetSession::OpenURL() method … no difference between them …

C++
void CTestHTMLView::OnHelpGetsource()
{
	// TODO: Add your command handler code here

	CString s;
	GetSource(s);
}



and the result is:

HTML
<!DOCTYPE html>
<html><head>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="CacheControl" content="no-cache"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="shortcut icon" href="data:;base64,iVBORw0KGgo="/>

<script>

(function(){
    var securemsg;
    var dosl7_common;

window["bobcmn"] = "1111101111101020000000220000000520000000025705570d200000096300000000300000000300000006/TSPD/300000008TSPD_101300000004http200000000200000000";

window.SqNs=!!window.SqNs;try{(function(){try{var ss,Ss,is=1,Js=1,Ls=1,zs=1,Zs=1;for(var jS=0;jS<Ss;++jS)is+=2,Js+=2,Ls+=2,zs+=2,Zs+=3;ss=is+Js+Ls+zs+Zs;window.lJ===ss&&(window.lJ=++ss)}catch(JS){window.lJ=ss}var oS=!0;function ZS(s){!s||document.visibilityState&&"visible"!==document.visibilityState||(oS=!1,document.cookie="brav=ad");return oS}function s_(){}ZS(window[s_.name]===s_);ZS("function"!==typeof ie9rgb4);ZS(/\x3c/.test(function(){return"\x3c"})&!/x3d/.test(function(){return"'x3'+'d';"}));
var __=window.attachEvent||/mobi/i.test(window["\x6e\x61vi\x67a\x74\x6f\x72"]["\x75\x73e\x72A\x67\x65\x6et"]),o_=+new Date+6E5,Z_,si,Si,ii=setTimeout,Ii=__?3E4:6E3;function ji(){if(!document.querySelector)return!0;var s=+new Date,I=s>o_;if(I)return ZS(!1);I=si&&!Si&&Z_+Ii<s;I=ZS(I);Z_=s;si||(si=!0,ii(function(){si=!1},1));return I}ji();
document.addEventListener&&document.addEventListener("visibilitychange",function(s){document.visibilityState&&("hidden"===document.visibilityState&&s.isTrusted?Si=!0:"visible"===document.visibilityState&&(Z_=+new Date,Si=!1,ji()))});var li=[17795081,27611931586,1558153217];function Li(s){s="string"===typeof s?s:s.toString(36);var I=window[s];if(!I.toString)return;var l=""+I;window[s]=function(s,l){si=!1;return I(s,l)};window[s].toString=function(){return l}}for(var oi=0;oi<li.length;++oi)Li(li[oi]);
ZS(!1!==window.SqNs);
(function(){var s=-1,s={o:++s,oL:"false"[s],S:++s,iI:"false"[s],jS:++s,_5:"[object Object]"[s],Ij:(s[s]+"")[s],jI:++s,ij:"true"[s],_S:++s,LS:++s,OL:"[object Object]"[s],L:++s,sS:++s,ljS:++s,JjS:++s};try{s._I=(s._I=s+"")[s.LS]+(s.Oi=s._I[s.S])+(s.LL=(s.oi+"")[s.S])+(!s+"")[s.jI]+(s.zi=s._I[s.L])+(s.oi="true"[s.S])+(s.Jj="true"[s.jS])+s._I[s.LS]+s.zi+s.Oi+s.oi,s.LL=s.oi+"true"[s.jI]+s.zi+s.Jj+s.oi+s.LL,s.oi=s.o[s._I][s._I],s.oi(s.oi(s.LL+'"\\'+s.S+s.LS+s.S+s.oL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\"+s.S+s.S+"\\"+s.S+s.S+"\\"+s.S+s.L+s.jS+s.ij+s.zi+s.Jj+"\\"+s.S+s.L+s.jS+"\\"+s.S+s.LS+s.L+"\\"+s._S+s.o+"(\\"+s.S+s.sS+s.o+"\\"+s._S+s.o+"+\\"+s._S+s.o+"\\"+s.S+s.sS+s.o+").\\"+s.S+s.L+s.jI+s.Jj+s._5+"\\"+s.S+s.L+s.jI+s.zi+"\\"+s.S+s.L+s.jS+"("+s.jS+",\\"+s._S+s.o+s._S+")\\"+s.S+s.jS+"\\"+s.S+s.S+"\\"+s.S+s.S+"});\\"+s.S+s.jS+"}\\"+s.S+s.jS+'"')())()}catch(I){s%=5}})();var zi=30;window.So={jo:"080c70a28c017800df126fc5e763aaf9338270119b7950166cbb6e56b597e768e5e278db788dbc7975b1b4e7f01572f8c45dd88a0fc0064f2f58c95147c7ac3e2ec9a1d2d31bef21ada6d4c4457b7952a09b154f45faedb6b7c45fea179cdc7fbfbe2f459f2384aa10132a8b8cceb151037fa9827fa8bb61c6331f26872b1b47"};function S(s){return 752>s}
function _(s){var I=arguments.length,l=[];for(var O=1;O<I;++O)l.push(arguments[O]-s);return String.fromCharCode.apply(String,l)}function J(s,I){s+=I;return s.toString(36)}(function(s){s||setTimeout(function(){if(!ji())return;var s=setTimeout(function(){},250);for(var l=0;l<=s;++l)clearTimeout(l);ji()},500)})(oS);})();}catch(x){document.cookie='brav=oex'+x;}finally{ie9rgb4=void(0);};function ie9rgb4(a,b){return a>>b>>0};

})();

</script>

<script type="text/javascript" src="/TSPD/08b919fd7aab20003e4c389b6b9d3a377ba58d046d5860c6a5f51ac0cfcb4999230dafe4bf087322?type=8"></script>

<script>

(function(){
    var securemsg;
    var dosl7_common;



})();

</script>

<script type="text/javascript" src="/TSPD/08b919fd7aab20003e4c389b6b9d3a377ba58d046d5860c6a5f51ac0cfcb4999230dafe4bf087322?type=11"></script>
<noscript>Please enable JavaScript to view the page content.</noscript>
</head><body>
</body></html>


No body part … I really don't know hot to overcome this …

modified 15-May-18 6:58am.

GeneralRe: CInternetSession OpenURL Pin
Jochen Arndt15-May-18 1:21
professionalJochen Arndt15-May-18 1:21 
AnswerRe: CInternetSession OpenURL Pin
Randor 15-May-18 9:46
professional Randor 15-May-18 9:46 
QuestionWhy can't variables be declared in a switch statement Pin
tracyhe12313-May-18 20:34
tracyhe12313-May-18 20:34 
AnswerRe: Why can't variables be declared in a switch statement Pin
Richard MacCutchan13-May-18 20:58
mveRichard MacCutchan13-May-18 20:58 
Questionwhy passing argument by reference(&ref) in a template function shows error ? but works fine if arguments passed by pointer(*ptr) ? Pin
Tarun Jha13-May-18 1:46
Tarun Jha13-May-18 1:46 
AnswerRe: why passing argument by reference(&ref) in a template function shows error ? but works fine if arguments passed by pointer(*ptr) ? Pin
CPallini13-May-18 2:56
mveCPallini13-May-18 2:56 
GeneralRe: why passing argument by reference(&ref) in a template function shows error ? but works fine if arguments passed by pointer(*ptr) ? Pin
Tarun Jha26-May-18 9:50
Tarun Jha26-May-18 9:50 
GeneralRe: why passing argument by reference(&ref) in a template function shows error ? but works fine if arguments passed by pointer(*ptr) ? Pin
CPallini26-May-18 10:53
mveCPallini26-May-18 10:53 
Questionproblem encountered by calling constructors explicitly. Pin
Tarun Jha11-May-18 10:20
Tarun Jha11-May-18 10:20 
AnswerRe: problem encountered by calling constructors explicitly. Pin
Joe Woodbury11-May-18 11:39
professionalJoe Woodbury11-May-18 11:39 
GeneralRe: problem encountered by calling constructors explicitly. Pin
Tarun Jha11-May-18 11:57
Tarun Jha11-May-18 11:57 
AnswerRe: problem encountered by calling constructors explicitly. Pin
CPallini12-May-18 4:13
mveCPallini12-May-18 4:13 
Questionvs2005 Form window Error C2039 Pin
jimNLX11-May-18 6:31
jimNLX11-May-18 6:31 
AnswerRe: vs2005 Form window Error C2039 Pin
Victor Nijegorodov11-May-18 7:23
Victor Nijegorodov11-May-18 7:23 
GeneralRe: vs2005 Form window Error C2039 Pin
jimNLX11-May-18 7:28
jimNLX11-May-18 7:28 
GeneralRe: vs2005 Form window Error C2039 Pin
Victor Nijegorodov11-May-18 8:07
Victor Nijegorodov11-May-18 8:07 
QuestionWhy do I need typecast hex? Pin
Vaclav_11-May-18 5:18
Vaclav_11-May-18 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.