Re: PdhCollectQueryDataEx hangs
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: PdhCollectQueryDataEx hangs         

Group: comp.os.mswindows.programmer.win32 · Group Profile
Author: Subrahmanya
Date: May 11, 2008 23:26

On May 12, 10:59 am, "Sebastian G." wrote:
> Subrahmanya wrote:
>> It looks like when virtual memory becomes almost full the function
>> mentioned above or any other pdh....() function hangs. The function
>> does not return but hangs even after some of the processes are killed
>> to make some memory free. Did anyone face this problem? Why is it so?
>
> A genuine bug? Heck, even in something as small as ZLib I found a bug in a
> function that causes a crash when memory is low. Don't bother discussing
> about more complex stuff, which is full of such problems.
>
>> what is the solution?
>
> Patch the bug in the source code and recompile it? Oops...

You are telling "Patch the bug in the source code and recompile it?"
how should I patch this inside my code? pdh...() functions are
provided by windows and other threads that I created in the
application are running fine. Are there any functions equivalent to
pdh..() functions that work fine even when memory is low?
no comments
diggit! del.icio.us! reddit!