I'm calling a DLL from Visual Basic. It works now well (due to your valuable help). I'm passing all my variables in arrays, each array for a certain variable type.
The code in VB is written so that in each loop, arrays are refilled with new values and program calls DLL. DLL then runs number of simulation iterations (within a single call) and sends results back to VB in arrays. New arrays are refilled and so on until all simulation scenarios are executed.
Is there a way I could see which iteration is currently running from the VB user interface? I would like to write this information into the text box so the user will have a better control. That means that within the call, there should be some interactive control between VB and DLL.
Can you, please, give me any help?
Thank you very much.