C++ Win32

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gayatri pande
    New Member
    • Jan 2009
    • 10

    C++ Win32

    How can I convert from char[] to LPCWSTR?

    I have
    char a[] = "Hi";
    LPCWSTR windowName = /*I have to convert a[] to LPCWSTR */
    Please Help
  • santoshmp
    New Member
    • Feb 2009
    • 2

    #2
    Use the MultiByteToWide Char API

    Comment

    Working...