wsprintf(str1,Time: %i,str); 应该是s吧 wsprintf(str1,Time: %s,str); 或者: itoa(g_timeEllapse,str,16); wsprintf(str1,Time: %i,str); 改为 wsprintf(str1,Time: %i,g_timeEllapse); 补充: int g_timeEllapse=60;//每次有TIMER消息,这个变量又重新赋值成60了, 可以未改为静态变量 static int g_timeEllapse=60;//只初始化一次 OK?
Copyright © 2025 IZhiDa.com All Rights Reserved.
知答 版权所有 粤ICP备2023042255号