Hello,
I have a dll which has following functions: "MainFunction" ,"Cancel" etc,. When the function "MainFunction" is executed it get's stuck and doesn't come out. In this case the documentation of dll says to run the "Cancel" function in separate thread to cancel the operation. I tried running two while loops in parallel but this didn't work. Would any one help how to do this and are there any examples to describing the multi-threading.