CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: DWORD to string

Threaded View

  1. #1
    Join Date
    Jan 2006
    Posts
    15

    DWORD to string

    Does anyone know how to convert a DWORD to a string, or char* or char[], or CString etc.

    What I am trying to do is read a DWORD value from the registry and put its value in an edit box in a MFC Dialog. And then when the user clicks OK, I'll take that value they typed into the edit box(if they changed it) and put that back into the Registry.

    I found out how to go from char* to DWORD but I can't figure out how to go the other way around so when I first read that value from the Registry I can update the edit box with it.

    Basically I am trying to display a DWORD value in an edit box.

    Thanks
    Last edited by JL8843; February 27th, 2006 at 11:08 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured