Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!microsoft!bobsc From: bobsc@microsoft.UUCP (Bob SCHMIDT) Newsgroups: comp.windows.ms.programmer Subject: Re: return values of LoadLibrary () Message-ID: <72817@microsoft.UUCP> Date: 8 Jun 91 20:59:18 GMT References: <284da5f2.57ff@polyslo.CalPoly.EDU> Reply-To: bobsc@microsoft.UUCP (Bob SCHMIDT) Organization: Microsoft Corp., Redmond WA Lines: 13 gmccain@polyslo.CalPoly.EDU (Greg) writes: %% I am getting a funny return code from LoadLibrary(), namely, it is 4. %% A value less than 32 is an error, but I really need to know what 4 means. Undocmented 'LoadLibrary' return values are the same as the corresponding DOS error codes. In this case, error code 4 means 'too many open files (no open file handles available)'. -- -- Bob Schmidt bobsc@microsoft.UUCP -- -- Bellevue WA USA Windows SDK Support -- Sydney NSW AUS Developer Support (after 1 Oct)