Timeline for answer to c++ variable declaration syntax by JaredPar
Current License: CC BY-SA 3.0
Post Revisions
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 28, 2013 at 19:22 | comment | added | JaredPar |
@user2726531 LPCWSTR is referring to a unicode string while char* or LPCSTR refers to an ANSI string. If you need a unicode string use LPCWSTR and change the declaration to L"hello world"
|
|
| Aug 28, 2013 at 18:18 | comment | added | user2726531 | error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR' | |
| Aug 28, 2013 at 18:07 | history | answered | JaredPar | CC BY-SA 3.0 |