the original type is DWORD.
when i do this, i have problems casting DWORD to unsigned char:
after a little bit of fussing around with it, this works out good.
Code:
unsigned char cc,channel,value;
cc = (dwParam1>>8);
channel = (dwParam1>>0)%16;
value = (dwParam1>>16);
i am suprised that i'm not getting some sort of type casting errors that second way.
thanks again!