Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAdd Attachment with Outlook2000 Automation Pin
NaturalBornChilla29-Oct-03 21:08
NaturalBornChilla29-Oct-03 21:08 
GeneralManipulating File Open/Save Filters Pin
Sreeramachandra29-Oct-03 20:34
Sreeramachandra29-Oct-03 20:34 
Generalfinding the IOCTRL for a Driver Pin
Fad B29-Oct-03 20:14
Fad B29-Oct-03 20:14 
GeneralRe: finding the IOCTRL for a Driver Pin
Alexander M.,30-Oct-03 2:37
Alexander M.,30-Oct-03 2:37 
QuestionCan anyone spot my mistake? Pin
georgiek5029-Oct-03 19:06
georgiek5029-Oct-03 19:06 
AnswerRe: Can anyone spot my mistake? Pin
Michael Dunn29-Oct-03 19:11
sitebuilderMichael Dunn29-Oct-03 19:11 
AnswerRe: Can anyone spot my mistake? Pin
Chris Meech30-Oct-03 3:01
Chris Meech30-Oct-03 3:01 
GeneralWhy download html page fail sometimes? I use CHtmlview(vc 6.0) Pin
5200131429-Oct-03 18:58
5200131429-Oct-03 18:58 
I used CHtmlView to display html page.

And I create a new thread as my work thread.

In my work thread , I call m_pMyHtmlView->Navigate2(...) to navigate to a html page.

The problem is when my program runs,the downloadComplete isn't be done sometime. And the URL I open is the file in the local computer with my program. So I don't know why the download is fail?

I try to debug it,and find the function run like under:
OnBeforeNavigate2()
DownloadBegin()
DownloadComplete()
DownloadBegin()
-------------------if error happens,the under don't be done
OnTitleChange
NavigateComplete()
DownloadComplete()
OnTitleChange
DocumentComplete()

Why after execute DownloadBegin() not execute DownloadComplete()?

Does anybody meet the status like this?

The error doesn't happen every time.Sometimes it happens after program runs 5 minutes. Some time the program work well whole day.

When the error happens,the thread of CHtmlView doesn't work.Even if the work thread call's m_pmyHtmlView->Navigate2(...),the thread of CHtmlView does't respond.It seems that thread was blocked.
GeneralObject-Oriented Classes HELP Pin
bwestend29-Oct-03 17:38
bwestend29-Oct-03 17:38 
GeneralPLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!! Pin
bwestend29-Oct-03 17:39
bwestend29-Oct-03 17:39 
GeneralRe: Object-Oriented Classes HELP Pin
Michael Dunn29-Oct-03 19:08
sitebuilderMichael Dunn29-Oct-03 19:08 
GeneralRe: Object-Oriented Classes HELP Pin
bwestend29-Oct-03 19:41
bwestend29-Oct-03 19:41 
GeneralRe: Object-Oriented Classes HELP Pin
Terry O'Nolley29-Oct-03 19:56
Terry O'Nolley29-Oct-03 19:56 
GeneralRe: Object-Oriented Classes HELP Pin
Steve S29-Oct-03 22:34
Steve S29-Oct-03 22:34 
GeneralRe: Object-Oriented Classes HELP Pin
Atlantys30-Oct-03 8:48
Atlantys30-Oct-03 8:48 
GeneralRe: Object-Oriented Classes HELP Pin
Alexander M.,30-Oct-03 2:47
Alexander M.,30-Oct-03 2:47 
GeneralRe: Object-Oriented Classes HELP Pin
Terry O'Nolley29-Oct-03 19:59
Terry O'Nolley29-Oct-03 19:59 
Generalset thumbnail view for Cfiledialog Pin
vancouver77729-Oct-03 16:30
vancouver77729-Oct-03 16:30 
QuestionHow can a CAB get parameter from html ? Pin
suninwater29-Oct-03 16:21
suninwater29-Oct-03 16:21 
GeneralRe: Class Constructor Help Pin
Andrew Walker29-Oct-03 16:49
Andrew Walker29-Oct-03 16:49 
GeneralChanging CListBox sort at runtime Pin
Daniel132429-Oct-03 15:39
Daniel132429-Oct-03 15:39 
GeneralRe: Changing CListBox sort at runtime Pin
vcplusplus29-Oct-03 15:45
vcplusplus29-Oct-03 15:45 
GeneralRe: Changing CListBox sort at runtime Pin
Daniel132429-Oct-03 16:02
Daniel132429-Oct-03 16:02 
GeneralRe: Changing CListBox sort at runtime Pin
vcplusplus29-Oct-03 16:11
vcplusplus29-Oct-03 16:11 
Generalarray of Strings Pin
convert_sg29-Oct-03 15:14
convert_sg29-Oct-03 15:14 

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.