windows字符集问题
#define NUMLINES ((int)(sizeof sysmetrics/sizeof sysmetrics[0]))struct
{
int iIndex;
TCHAR * szLabel;
TCHAR * szDesc;
}
sysmetrics[] =
{
SM_CXSCREEN, TEXT("SM_CXSCREEN"),
TEXT("Screen width in poxels"),
SM_CYSCREEN, TEXT("SM_CYSCREEN"),
TEXT("Screen height in pixels")
};
这是我自己定义的一个windows头文件,但是vs一直报错,说无法从“const wchar_t”转换为“TCHAR *”,请问怎么解决