codice: TCHAR s[256] = _T(""); dovrebbe essere corretto.
TCHAR s[256] = _T("");
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum