News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Saving tuner to file

Started by TouEnMasm, August 04, 2020, 11:39:32 PM

Previous topic - Next topic

TouEnMasm

Hello,
This one is a demo program.
It show how to save a tuner (mp3) to a file with URLDownloadToFile and the implemented Interface IBindStatusCallback.
The  IBinding and IBindctx are registered but not used.
To abord the save,just used the menu with abord.
The URLDownloadToFile works on a thread,the Interface IBindStatusCallback test a dword in data who say when to abord.
When it begin one,the implemented interface return E_ABORT to URLDownloadToFile who stop the save.
The IBindStatusCallback had his own source file and must be reusable without many problems.
To ear the sound during the save a little more writing.
Fa is a musical note to play with CL