Win32 Application no longer terminates after using Windows GDI ChoosePixelFormat

Ilia Vorobyov 1 Reputation point
2020-11-26T03:46:36.127+00:00

Since a few days my Win32 C++ application no longer terminates once the ExitInstance() function is finished. The same application was working fine a few weeks ago. The problem occurred on various of Terminal Servers when the Device Number of adjacent color bits for each pixel is 16 and I believe a gdi32.dll patch is the root cause.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,678 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,780 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.