Advertisement
pavedaf

Untitled

Jul 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. char* strName = pEntity->m_NickName;
  2.  
  3. if (strName != NULL && strName != "" && strlen(strName) > 0) {
  4. wchar_t dests[1024];
  5. if (MultiByteToWideChar(CP_UTF8, 0, strName, -1, dests, strlen(strName) + 1) > 0) {
  6. //drawTextW
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement