Float to wide char string conversion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dynature
    New Member
    • Apr 2008
    • 1

    Float to wide char string conversion

    Hi,

    Any help,
    how to convert float to unicode string?
    gcvt() wont work on visual c++ 2005.

    Thnks in advance
    - nestor
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    First convert your float to a char string. Then use a function like SysAllocString to convert your char string into a WSTR string.

    Comment

    Working...