Hi,

I wrote a simple windows form in VC12 which works fine. However, I am unable to terminate it properly. Upon clicking either the 'X' (close button) or a button I put in with the code,

Application::Exit();

The GUI disappear/closes but the process is actually still running when I check under task manager. Please advice, thank you.

Re: windows form termination 80 80

Do you have any part of the form that links to an already running process?

Re: windows form termination 80 80

I am not too sure, I am using OpenCV with it, so that could be one of them. Is there anyway to check?

Re: windows form termination 80 80

This also might indicate that a background thread is still running.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.