Re: Maximum User Handles Per Process Is 10,000 in Windows 2000

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Leo Havmøller (leh_at_nospamrtx.dk)
Date: 03/04/04


Date: Thu, 4 Mar 2004 12:38:31 +0100


> Fix your program so that it doesn't overflow the message queue. You
can
> either use PeekMessage to pump messages interleaved with whatever
processing
> you're doing or better, use a separate thread for your processing so that
> you can run a normal GetMessage based message pump. Don't tie up your
> message pump thread by doing lengthy processing within message handlers.
>
> -GJC [MS Windows SDK MVP]

Please read the question again. Your answer has nothing to do with the
problem described.

Leo Havmøller.



Relevant Pages

  • Re: Maximum User Handles Per Process Is 10,000 in Windows 2000
    ... >> you can run a normal GetMessage based message pump. ... >> message pump thread by doing lengthy processing within message handlers. ... the program instead of the system limit. ... -GJC [MS Windows SDK MVP] ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CoUninitialize() hangs in worker thread
    ... more advanced coding techniques. ... Careful. ... You need to pump your message queue as you wait. ...
    (microsoft.public.vc.atl)
  • Re: Combobox borderstyle or flatstyle
    ... > If you use visual styles remember to pump the message queue after you call ... > cache imagelists, or you'll get freaky COM errors at unexpected times. ... > has a FlatStyle property, ...
    (microsoft.public.dotnet.languages.csharp)