C++调试遇到问题

来源:百度知道 编辑:UC知道 时间:2024/05/25 05:04:16
error C2664: '
int CDC::DrawTextW(LPCTSTR,int,LPRECT,UINT)' : cannot convert parameter 1 from 'char *' to 'LPCTSTR'
Types pointed to are unrelated
出现这个错误怎么回事????
我也知道类型匹配问题,关键怎么改?

类型匹配有问题 char和lpctstr
问题是我也不知道你是写的什么语句我怎么知道怎么帮你改阿!你把你的语句写出来或者是用断点运行下看在哪句出错的然后发过来帮你改