3/23/2006

03-24-06 - 1

03-24-06

A thread should not use IsWindow for a window that it did not create because the window could be destroyed after this function was called. Further, because window handles are recycled the handle could even point to a different window.

So, basically this function is just pure unsafe unreliable garbage and you never should have even provided it in the SDK, right? And why the hell don't you provide me with a safe GUID for windows? All you have to do is give me a handle (which is recycled) plus a recycler refcount, very simple & makes this not a P.O.S.

No comments:

old rants