Solved

BYTE data type in ver7

Posted on 2003-11-06
1
241 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
ID: 9698836
checked with version 7.1.3088, works fine .
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeateFront java challenge 31 95
matchUp  challenge 6 76
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 1,252
moto 4g phone enable finger print 4 42
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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