tablesmit / csexwb2

Automatically exported from code.google.com/p/csexwb2
1 stars 2 forks source link

Q: Asynch DownloadCompleted locks up #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My application intercepts download requests, calling
  exWB.DownloadRequestAsynch += exWB_DownloadRequestAsynch;
in the constructor. Within the handler, I pass most requests back with
  e.ClientHandled=false; return;
For some I queue an asynch work item; the queued function calls
  e.DownloadCompleted (bytes, e.Url, mimeType);
which as you know calls 
cEXWB.ManagedProtocolSink.ManagedAppDownloadCompletedAsynch(). The problem 
I'm seeing is when this function performs
  appsink = sink as ComUtilitiesLib.IManagedAppBridge;
At this line, the application locks up. No visible exception or error; it 
just stops responding.

AppControl sample runs fine, DownloadAsynch is working there, but I can't 
tell what I'm doing significantly differently. E.g. Main runs as 
[STAThread].

Are there additional requirements to use this method, or security issues?

This is with csexwb2 2.0.0.2 running on WinXP SP3. TIA!

(Excellent tool, BTW!! Would just like to see more/improved documentation.)

Original issue reported on code.google.com by ke...@kuler.com on 19 Mar 2010 at 7:44