Link to home
Start Free TrialLog in
Avatar of Phoenix24
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?
ASKER CERTIFIED SOLUTION
Avatar of Priyesh
Priyesh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial