i can't use winapi, it's for a school project and i have to use qt...

i tried tu put in my code the definition of UNICODE that you give me but it has errors at the same place : cannot convert 'const char*' to 'const wchar_t*' in initialization

i give you 2 examples of fonctions wich give errors :

const TCHAR* wiimote::ButtonNameFromBit [16] = { _T("Left") , _T("Right"), _T("Down"), _T("Up"), _T("Plus") , _T("??") , _T("??") , _T("??") , _T("Two") , _T("One") , _T("B") , _T("A") , _T("Minus"), _T("??") , _T("??") , _T("Home") };


WARN(_T("couldn't create sample thread!"));