Nathan Campos
Nathan Campos

Reputation: 29507

Progress Bar Of URLDownloadToFile

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

Answers (1)

fvu
fvu

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

Related Questions