Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
IE
ie55.activexcontrol
ie55.add_ons
ie55.browser
ie55.com.codedownload
ie55.css
ie55.databinding
ie55.dhtml
ie55.dhtml.authoring
ie55.dhtml.behaviors
ie55.dhtml.scripting
ie55.icw
ie55.misc
ie55.multimedia
ie55.oe.stationery
ie55.outlookexpress
ie55.programming
ie55.setup
ie55.webbrowser_ctl
ie6.browser
ie6.ieak
ie6.oe.wishlist
ie6.setup
ie6_oe.stationery
ie6_outlookexpress
  
 
date: 5 May 2006 14:14:55 -0700,    group: microsoft.public.windows.inetexplorer.ie55.programming.webbrowser_ctl        back       


Asynchronous Pluggable Protocol support for Range Fetching   
Greetings,

I have an Asynchronous Pluggable Protocol (APP), implemented in C++,
which works fine.  I would like to add support for byte-range fetching
to it.  In particular, I would like to get the Adobe Acrobat Reader
control to make range requests using my APP.  I'm very interested in
hearing from anyone who has managed to get byte-range fetching to work,
or who have pointers to documentation explaining how to make this work.

The current implementation makes the following calls, in order, on the
IInternetProtocolSink interface:
ReportProgress(BINDSTATUS_MIMETYPEAVAILABLE, wzMimeType)
ReportProgress(BINDSTATUS_CACHEFILENAMEAVAILABLE, wzFilePath)

After that, we call ReportData as the data becomes available, which
causes URLMON to call our Read function to read the data.

My best guess is that I need to call:
ReportProgress(BINDSTATUS_ACCEPTRANGES, L"bytes")))

I suspect that this call should be made around the time that I make the
other two calls to ReportProgress.  I've played around with this, but
can't get the Acrobat control to make a range fetch, as it will do
when it uses http 1.1.

Any help is appreciated.

Cheers
date: 5 May 2006 14:14:55 -0700   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us