Solved

convert unsigned char(hexadecimal value to Cstring) and add to listbox

Posted on 2004-04-27
1
1,165 Views
Last Modified: 2013-11-20
Hi ,
Iam new to VC++...
How to display unsigned char(holds hexadecimal value) in list box control.
listbox control takes only strings(CString).
how do i convert hexadecimal value to cstring...

example i want to display F212D915 in list box control

Thanks
Sahaj
0
Comment
Question by:su_us_76
[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 44

Accepted Solution

by:
AndyAinscow earned 125 total points
ID: 10930549
CString s;
s.Format("%x", hexValue);  //or similar format, look up printf in help
0

Featured Post

Industry Leaders: 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
Separate files macro - Errors on larger data set 18 76
Generic progress indicator 6 121
string initialization in java 11 122
Example code 13 43
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

751 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