🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #883

Re: out of selectors ??

#883
From: Chris GUZAK
Date: Thu, 13 Dec 1990 06:25
13 lines
1009 bytes
In article <1908@Terra.cc.brunel.ac.uk> emsrssn@cc.brunel.ac.uk (Stefan Nahajski) writes:
>What does this mean?  In my application, I don't go anywhere near
>AllocSelector etc.. but perhaps GlobalAlloc does?  Anyone got any

Yes!  GlobalAlloc() consumes selectors!  Read your docs.  Under standard
mode you get something like 4k selectors, in enhanced 8k.  That means
you can't alloc more than that many global objects (note, windows
uses some itself).  Any program that reaches this limit is written
wrong.  On x86 you have to be aware of the number of selectors
available.


Chris
Technical Details
Message-ID: <59794@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!chrisg
References: <1908@Terra.cc.brunel.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!chrisg
From: chrisg@microsoft.UUCP (Chris GUZAK)
Newsgroups: comp.windows.ms.programmer
Subject: Re: out of selectors ??
Message-ID: <59794@microsoft.UUCP>
Date: 13 Dec 90 06:25:12 GMT
References: <1908@Terra.cc.brunel.ac.uk>
Reply-To: chrisg@microsoft.UUCP (Chris GUZAK)
Organization: Microsoft Corp., Redmond WA
Lines: 13