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.

Recommended Answers

All 3 Replies

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

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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.