不需要Release DC,Release DC的前提是你调用GetDC而不是自己创建DC。你自己创建的DC应该用DeleteDC来销毁,这个MFC封装类的析构函数会自动做。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP