Solved

BYTE data type in ver7

Posted on 2003-11-06
1
210 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
1 Comment
 
LVL 9

Accepted Solution

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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now