Posted on 2000-04-07
Hi ., Im writing a desktop internet search tool ., which sercches different search engines and downloads the results into a htmlpage.
I use CInternetSession->OpenURL()
to get the page.I have my own CInternetSession derived class for status callback so i create this in a thread and i download it from the thread.
Problem is I have GO and STOP buttons on my Searchbar,It works fine when I say stop while its downloading ,only once ., If i do a go and stop for few times ., CInternetSession just doesnt work at all ., It just hangs.
If I wait for say 15-20 minutes and then say GO it WORKS., May be the active connection object had died by then .,
Any solution how to implement GO and STOP in a more better and non buggy way .,