Share via


Using the Collection Classes

With 16-bit Windows, the CObArray class and all related array collection classes are constrained by 16-bit memory models and must fit within a single 64K segment.

With Win32, the number of elements that can fit within a framework array collection is limited only by the amount of available memory. The maximum number of collection elements is the largest possible value of a UINT, which is much larger than a typical computer’s memory. The increase in maximum collection size should have little effect upon your code because a framework collection simply throws a when it reaches its memory limit in both the 16-bit version and the 32-bit version of the framework.

See Also   Date and Time: SYSTEMTIME Support