是编码问题吧,你把编码改为多字节的,不要用unicode
TextOut(0,0,_T("hello world!"));}_T("hello world!")
char buf[MAX_PATH]="hello world!";pDC->TextOut(0,0,buf);
写成pDC->TextOut(0,0,_T("hello world!"));2010默认宽字节