Depends on what you want to achieve. If you want to see digits of a number as a text - use _ltow(). If you want to pass intentionally a DWORD argument to some common API function, requiring LPCWSTR - simply cast it: (LPCWSTR)your_dword_var . In this case you should by sure, that your callee will interprete your parameter as a number, not as a text string.