C ++ error C2664: “strcat”: 不能将参数 1 从“TCHAR [260]”转换为“char *”
TCHARstrWinDir[MAX_PATH]={0};HCURSORhHandCursor=NULL;hHandCursor=::LoadCursor(NULL,MA...
TCHAR strWinDir[MAX_PATH] = {0};
HCURSOR hHandCursor = NULL;
hHandCursor = ::LoadCursor(NULL, MAKEINTRESOURCE(32649));
if( hHandCursor == NULL )
{
GetWindowsDirectory(strWinDir, MAX_PATH);
strcat(strWinDir, _T("\\winhlp32.exe"));
请问要如何改正??? 展开
HCURSOR hHandCursor = NULL;
hHandCursor = ::LoadCursor(NULL, MAKEINTRESOURCE(32649));
if( hHandCursor == NULL )
{
GetWindowsDirectory(strWinDir, MAX_PATH);
strcat(strWinDir, _T("\\winhlp32.exe"));
请问要如何改正??? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询