silentthread2k
asked on
The annoying LPCWSTR in as WinAPI parameter
I'm just trying to launch a message box in visual c++
This does not work....
MessageBox(NULL,TCHAR("tes t"),(LPCWS TR)"test", NULL);
Help. :-)
This does not work....
MessageBox(NULL,TCHAR("tes
Help. :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is also a reference to the .NET version with various other options such as icons (code is in the lower section of the page:
http://msdn.microsoft.com/en-us/library/system.windows.forms.messagebox.aspx
...and the native Win32 version reference:
http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx
http://msdn.microsoft.com/en-us/library/system.windows.forms.messagebox.aspx
...and the native Win32 version reference:
http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx
ASKER