Dave's Brain

Browse - Programming Tips - My MFC application hangs in AfxWinTerm() when closing. Why?

Date: 2009apr22
Language: C/C++
Framework: MFC

Q.  My MFC application hangs in AfxWinTerm() when closing.  Why?
And how do I stop this?

A.  I have seen this happen if you use LoadLibary() to load a DLL
but do not use FreeLibary() to unload it.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.