3

I'm implementing dragging a virtual file out of a website and onto the desktop with an activex control.

How do I create an IStream on my http url, so Windows can execute the drop?

The example I'm looking at uses SHCreateStreamOnFile to copy a local file; there must be an analogous function for other types of streams like http file download.

Dustin Getz
  • 21,282
  • 15
  • 82
  • 131

1 Answers1

4

How about using the URL Moniker Functions. You can use the URLDownloadToFile (blocking function), or URLOpenPullStream (asynchronous).

Garett
  • 16,632
  • 5
  • 55
  • 63