We have a big body of code that was refactored so that stuff which was plain-old C++ is now COM.
I've been spending the last couple of days hunting out places in which we missed the fact that a function that previously returned a bool now returns an HRESULT (the problem is compound by the fact that S_OK == false).
Is there a way to detect places in which an HRESULT is being used as a bool (and vice versa)?
We're using Visual Studio 2005 (VS8) Professional.
Is there anything other than @Steve's excellent suggestion which doesn't involve installing Team Edition?