I had a previous post on how to make memorystream play in wmp activex and got a reply with a link to boxedapp sdk. It's not a freeware so I studied the process and I figured out that it is using a virtual file for the stream to be saved and that its filename is used as the URL. So, my question is how to create a virtual file that returns a handle which should be then be accessed by a THandleStream. I am using Delphi 7. Thanks.
Desired Process on how to make memorystream play in wmp activex or any player:
- Create a virtual file and return a HANDLE; (This is my question)
- This HANDLE is then accessed by a THandleStream;
- THandleStream copies the content of the MemoryStream to be played;
- The player(wmp activex in my case) accesses the filename.
- The player plays it.