CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Attalian

Search: Search took 0.02 seconds.

  1. Replies
    19
    Views
    169,319

    Re: convert from 'char *' to 'LPCWSTR'

    i tried them. A friend solved it.

    here's the solution:

    typedef wchar_t WCHAR ;

    typedef CONST WCHAR *LPCWSTR;

    wchar_t sound[]=L"C:/ohhnooo.wav";
  2. Replies
    19
    Views
    169,319

    Re: convert from 'char *' to 'LPCWSTR'

    Hi i have that code it works on DevCpp but in Visual Studio gives error.

    //______________________________________________

    #include <cstdio> // getchar()
    #include <iostream>
    #include...
Results 1 to 2 of 4





Click Here to Expand Forum to Full Width

Featured