BOOL CreatePointFont(
   int nPointSize,
   LPCTSTR lpszFaceName,
   CDC* pDC = NULL 
);
这个函数中的第二个参数怎么获得??
我把msdn里的代码直接复制编译居然提示出错
// The code fragment shows how to create a font object,
// select the font object into a DC (device context) for text
// drawing, and finally delete the font object.CClientDC dc(this);CFont font;
VERIFY(font.CreatePointFont(120, "Arial", &dc));// Do something with the font just created...
CFont* def_font = dc.SelectObject(&font);
dc.TextOut(5, 5, "Hello", 5);
dc.SelectObject(def_font);// Done with the font. Delete the font object.
font.DeleteObject();error C2664: “CFont::CreatePointFont”: 不能将参数 2 从“const char [6]”转换为“LPCTSTR”
与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
什么问题啊??