Home All Groups Group Topic Archive Search About

please help with msdn sample

Author
17 Dec 2005 7:30 AM
ari
hey all,

i did a search on local msdn help for:
asynchronous HTTP handlers

or goto:
ms-help://MS.MSDNQTR.2003FEB.1033/cpguide/html/cpconhttphandlerregistration.htm

and tried to do the asynchronous example listed, i got it to work somewhat.
I had 2 issues i wanted to ask about.

1. In the BeginProcessRequest i didn't know what to do with the following:
            Dim asynch As New MyAsynchOperation(cb, context)
            asynch.KickOffThread()
It wasn't defined. Am i suppose to create it myself? I just commented it out
for the moment.

2. When i ran it it displayed that it did "Kick off a Thread" but at the
bottom /left of the browser the status showed Opening http://localhost... and
it never went away.

I closed the browser and tried it again but i didn't even get the message
"Just kicked off a Thread" which leads me to believe that something is still
running from the first time i tried.

Thanks for any help,
ari

AddThis Social Bookmark Button