Path: 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 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