I have an application. It uses a thread to call up an external application. A dos based app called WGet. WGet retrieves files for me.
Since WGet is ran in a thread (as I need it to be) I provide a way for the early termination of the thread.
But when the thread is terminated early by my choice (a button) I find that I need to close the window. I use FindWindow with the classname of the WGet application. Then I use SendMessage with WM_CLOSE.
What happens is I get that annoying Dos type messagebox...
Windows cannot shut down this program automatically.
It is recommended that you exit the program with it's quit or exit command....
Do you wish to terminate the program now... (Yes) (No).
I would like to either force the dos app to close without this message.
Or hear a better solution?
What is C++ STL?:
STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector.
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.