Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DWORD to BSTR Conversion

Status
Not open for further replies.

DougCa

Technical User
Nov 1, 2002
13
0
0
US
If strVal is a BString (e.g. its BSTRING &strVal) and data is a DWORD with 4 hex bytes. What is the easist way to get the 4 hex bytes in data to a decimal value in strVal?

Thanks,
Doug

DWORD data;


strVal = data; //This only gives me 2 of the hex bytes in
// strVal. So I need something else here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top