Skip to content

Instantly share code, notes, and snippets.

@pmachapman
Created July 9, 2017 22:26
Show Gist options
  • Select an option

  • Save pmachapman/17ff63a05c494e9e2db404151885d9d0 to your computer and use it in GitHub Desktop.

Select an option

Save pmachapman/17ff63a05c494e9e2db404151885d9d0 to your computer and use it in GitHub Desktop.
Another example on how to cast a char array to an LPCWSTR
#include <tchar.h>
#include <windows.h>
int main()
{
MessageBox(NULL, _T("Testing, 123!"), _T("Test"), MB_OK);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment