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.