CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    4

    convert from CString to USHORT?

    How can I convert CString to USHORT? I know the other way around.

    Thanx for any help.


  2. #2
    Guest

    Re: convert from CString to USHORT?

    sscanf()


  3. #3
    Join Date
    May 1999
    Location
    CA, USA
    Posts
    586

    Re: convert from CString to USHORT?

    Why not use atoi() or atol() and cast the return to an USHORT?

    Rail

    Recording Engineer/Software Developer
    Rail Jon Rogut Software
    [email protected]
    http://home.earthlink.net/~railro/

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