download a file using windows IStream

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.

Answers


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


Need Your Help

ERROR: Error installing ffi: ERROR: Failed to build gem native extension

macos file makefile ffi

I am getting this error in Mac 64 bit and have xcode inatalled on machine.

Weblogic 12.2.1 + Java 8 + Spring Data JPA + Hibernate 5.x Deployment conflict

java-8 weblogic spring-data-jpa weblogic12c hibernate-5.x

I am trying to deploy an EAR file using WebLogic 12.2.1 with Hibernate 5.x and Spring-data-jpa 1.9.4. The same configuration deployed fine on Weblogic 12.1.3. JPA 2.1 is used on both of them.