I want to add some while() loop to a windows form app, the problem is that when I try its freezing the window because of the loop.
There is any way or method to add a loop that won't freeze the window?
Maybe you should add a thread.
Yep, background worker did the job!
I found a nice tutorial, for some reason you need to replace the "." with "->" but it really great tutorial:
(after all it isn't possible to learn C++ from MSDN which isn't understandable in most of the cases)