Phoenix24
asked on
BYTE data type in ver7
is this a problem in MFC ver7(.net studio)?
BYTE byVal1 = 0xF2 ;
int iVal = (int)byVal1 ;
using watch viewer, byVal1=0... same thing happen for values E0 to FE... but if you type cast BYTE to int: iVal = 242...
any suggestion(solution) if this is not an MFC problem?
BYTE byVal1 = 0xF2 ;
int iVal = (int)byVal1 ;
using watch viewer, byVal1=0... same thing happen for values E0 to FE... but if you type cast BYTE to int: iVal = 242...
any suggestion(solution) if this is not an MFC problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.