Actually, I have a legitimate piece of code that both accepts and returns longs with negative values; I have routing code that uses taxicab geometry to compute route travel distances within a city grid, and it accepts both positive and negative integers to specify relative positions...so I'm not just being difficult some of the time.
There are also situations where you may be passed back a negative value as an error code in the API; for example, an instance pseudohandle, as returned by ShellExecute(), can be a negative value for certain classes of errors, and if you're using ShellExecuteEx(), you have to pull that hInstance value out of a structure. I suspect that there are situations where some of the shape API structs like RECT may contain negative longs as well.
>Now you are just being difficult *LOL*
>
>> But I found another one where I passed a
-2!