background worker
-
i need to create a function that can stop a process which takes long time. i mean the user can stop the process while it is processing(just like a cancel buton). can i do this by using "backgroung worker"? i found some example code and information in C# but i couldnt in C++. do i have to use multithreading?
-
i need to create a function that can stop a process which takes long time. i mean the user can stop the process while it is processing(just like a cancel buton). can i do this by using "backgroung worker"? i found some example code and information in C# but i couldnt in C++. do i have to use multithreading?
strictly speaking you don't have to. but the alternatives can be pretty ugly, and even more trouble than using a worker thread. use a worker thread.
-
i need to create a function that can stop a process which takes long time. i mean the user can stop the process while it is processing(just like a cancel buton). can i do this by using "backgroung worker"? i found some example code and information in C# but i couldnt in C++. do i have to use multithreading?