Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Apr : Error in InternetSetStatusCallback

www.cryer.info
Managed Newsgroup Archive

Error in InternetSetStatusCallback

Subject:Error in InternetSetStatusCallback
Posted by:"dindin" (dindin04..@sina.com)
Date:Mon, 24 Apr 2006 17:14:48

Hello:

     I write a program to get web data using wininet in full asynchronous
mode. The attachment is the class file. In sometimes I find that the
callback function of InternetSetStatusCallback may receive messages, but
dwContext isn't the correct class of CAsyncGetHttpFile, so it will crash at
SetEvent, how can I avoid this , thanks !

Replies:

www.cryer.info
Managed Newsgroup Archive