Главная страница | назад





Article #20090: System Resource Capacities in Windows 95

Running out of system resources in Windows 95 can give the Delphi exception "EWin32Error" with further details such as "in VCL40.DPL". EWin32Error is raised when Windows returns an error code. Following are some Windows 95 limits. The logical pens and brushes limit is probably the most significant for Delphi users since it will limit the number of visual components an application can create simultaneously. These were found on the Microsoft web page at: http://msdn.microsoft.com/library/winresource/dnwin95/s70b0.htm
*********************************************
Windows 95 System Limits
*********************************************
Windows Menu handles 32K
Timers Unlimited
COM and LPT ports Unlimited
Items per listbox 32K
Data per listbox Unlimited
Data per edit control Unlimited
Regions Unlimited
Physical pens and brushes Unlimited
Logical pens and brushes All in 64K segment
Logical fonts 750 — 800
Installed fonts 1000
Device contexts 16K
**********************************************

Last Modified: 16-DEC-00