You certainly simply did not show
real offending code. Something's wrong here.
The error message suggests the '&' is an
infix operator between two operands, and that the left operand has incompatible type. If this is really C and not C++ (which I cannot be 100% sure), this operator could be only the bitwise AND operator (and this is not logical '&&').
So, look for code like this:
HANDLE h;
a = h & b;
Your code sample does not even contain '&'. Something is wrong with showing the code lines and probably with formatting of the code.
Hope it will give you a hint about the problem. After all, use global text search and find HANDLE and '&'.
—SA