Hi all! So I'm writing a custom sort of package manager. However it needs to be GUI, and I can't just stop the gui and download the files (taking up to 4-5 mins to download). So, when the user presses a button, it will trigger a procedure that should check if a download has been started, if it hasn't it'll start it. I have have a separate procedure that the GUI library calls (iup) every, say 500 milliseconds, in which I would check if the download is complete and then execute it, if not it will update a progress bar. The progress bar is not super important, but it is handy.
I'm unsure how to start an async download, and then check in a different procedure if it has completed. Thanks, hcorion P.S. It only needs to run on Windows.
