Solved

BYTE data type in ver7

Posted on 2003-11-06
1
244 Views
Last Modified: 2013-11-20
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?
0
Comment
Question by:Phoenix24
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
Priyesh earned 50 total points
ID: 9698836
checked with version 7.1.3088, works fine .
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 73
CRON statement to run every 3 minutes except on Monday morning 12am to 2am 7 121
bigDiff challenge 17 142
Fibonacci challenge 11 140
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question