Ok... you call the function once, and the value gets returned when the function is finished.

By definition, your program cannot know the progress, or run any other code.


Without making major changes to the code (in this program and/or the DLL), there is no way of adding any kind of progress indicator.