--- a/corelib/SysInfo.cpp
+++ b/corelib/SysInfo.cpp
@@ -51,6 +51,6 @@
   }
   m_user = CString(user, ulen);
   m_sysname = CString(sysname, slen);
-  m_ProcessID.Format("%08d", GetCurrentProcessId());
+  m_ProcessID.Format(_T("%08d"), GetCurrentProcessId());
 }