Reputation: 29507
I'm using MASM to build a download program, but the thing is that i don't know how to use a progress bar to show the progress of the download, i'm using URLDownloadToFile like this:
invoke URLDownloadToFile, NULL, chr$("http://masm32.masmcode.com/masm32/m32v10r.zip"), chr$("D:\test.zip"), 0, 0
Best Regards.
Upvotes: 1
Views: 2022
Reputation: 32973
wow, you must love pain... combining asm and COM....
According to the MSDN documentation the last parameter of URLDownloadToFile is called lpfnCB, a pointer to the IBindStatusCallback interface of the caller whose OnProgress method will be called to report download progress.
Upvotes: 5