Click to See Complete Forum and Search --> : convert from CString to USHORT?


allisons
April 29th, 1999, 02:54 PM
How can I convert CString to USHORT? I know the other way around.

Thanx for any help.

April 30th, 1999, 09:30 AM
sscanf()

Rail Jon Rogut
April 30th, 1999, 11:52 AM
Why not use atoi() or atol() and cast the return to an USHORT?

Rail

Recording Engineer/Software Developer
Rail Jon Rogut Software
railro@earthlink.net
http://home.earthlink.net/~railro/