Click here to Skip to main content
15,910,471 members

Comments by tygeztt (Top 3 by date)

tygeztt 1-Nov-12 4:02am View    
The strange thing is when I ignore the debug assert failed ,still download file if keep connecting to the internet.so ,I think it is successful of connecting to the internet,how about my opinion?thanks
tygeztt 1-Nov-12 3:36am View    
Hello,I do it with the code below:
pHttpConnection = session.GetHttpConnection(strServer, wPort);
BOOL b = InternetSetOption(session,INTERNET_FLAG_RELOAD,NULL,0);
pHttpFile = pHttpConnection->OpenRequest(CHttpConnection::HTTP_VERB_GET, strObject);
Thank you very much!best wishes
tygeztt 1-Nov-12 3:20am View    
Thanks ,when I use the flag INTERNET_FLAG_RELOAD ,calling pHttpConnection->OpenRequest(CHttpConnection::HTTP_VERB_GET, strObject,NULL,1,NULL,NULL,INTERNET_FLAG_RELOAD | INTERNET_FLAG_EXISTING_CONNECT) or pHttpConnection->OpenRequest(CHttpConnection::HTTP_VERB_GET, strObject,NULL,1,NULL,NULL,INTERNET_FLAG_RELOAD ),will report Debug Assert Failed in the line 2302 of the inet.cpp,but I can not download file when disconnect the network.How can I slove the Debug Assert Failed? Looking forward to your answer