2024年3月30日发(作者: 天堂 中文在线)
系统资源不足(Insufficient system resources)
What is GDI? What does GDI resources represent?
GDI+ is a subsystem of Windows XP, which is responsible for the
output of information on the display screen and print device.
It is a set of application programming interfaces implemented
through the C++ class. As the name implies, GDI+ is the previous
version of the GDI inheritance, for compatibility, Windows XP
still supports the previous version of GDI, but in the
development of new application program, developers in order to
meet the needs of graphics output should use GDI+, because the
GDI+ of the previous Windows version of the GDI was optimized,
and add a lot of new function.
As the graphics device interface GDI+ allows application
developers in the output screen and printer information without
considering the specific details of the display device, can be
some of the methods they only need to output GDI+ library calls
class complete graphics operations, the real work of drawing
by these methods to the specific device driver to complete, GDI+
makes graphics hardware and application isolation. This allows
developers to write applications very easily device
independent.
Two
Simply speaking, when the application is running, memory need
a space to keep track, running the state of the program, for
example, the menu button, the cursor position and bitmap,
window state, store the information space has a proper noun to
describe, that is what we are familiar with the system of
"resources", and storage the information space is known as a
"memory block stack", you can put "heap" into the management
mechanism of memory.
Depending on the type of storage object, the system resources
are divided into two areas: user resources and GDI (Graphic,
Device, Interface, graphical device interface) resources. A
system kernel program "" management stack called the
user resource heap, used to store the state of the window, menu
position information; by the pile called GDI resources system
kernel program "" management stack, used to store the
brush, brush, palette fonts, graphics object information. The
user resource heap and the GDI resource heap are collectively
referred to as system resource heaps, which we customarily
refer to as system resources.
Under the Windows 9x system, Microsoft divides the system
resources into five heaps, in which the user resource heap
occupies three, and the GDI resource heap is two. Three user
resource heap are: 16 bit user heap, size is 64KB; 32 bit window
heap, size is 2MB; 32 bit menu heap, size is 2MB. Two GDI heap
are: 16 bit GDI heap, size is 64KB; 32 bit GDI heap, size is
2MB. Windows 9x's reason for designing system resources is to
make the old 16 bit program run on the new operating system.
In the Windows 2000/XP system, almost never touches such as
"insufficient system resources", the main reason lies in the
Windows 2000/XP system has no resource restrictions on the size
of the system according to the actual operation, automatic
allocation of system resources enough.
发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1711750320a1949199.html
评论列表(0条)