TCHAR szTmp[256];
...
wsprintf(szTmp,TEXT("%s"),typeid(WNDCLASS).name());
TextOutW(hdc,0,40,szTmp,lstrlen(szTmp) );
why does it print garbage,i know typeid(WNDCLASS).name() is const char*,but how to output normal words in unicode?
IDE:vs2010,project charset:unicode
;by the way,if i know a handle of a winform,may a get the class's typename?