|
|
|
[求助]百思不得骑解,求大神教教
求大神教教,为什么代码基本一样,一个bmp能接收到字符串,一个接收到的是乱码?? |
|
[求助]百思不得骑解,求大神教教
如果改成这样: UINT fuzhi01(PVOID pParam) { CString bpm=(LPSTR)(LPCSTR)pParam; while (ttt==NULL&&CLoseMyThread==NULL) { DWORD ert=kaishibianli02(huoqujizhi(),(LPSTR)(LPCSTR)bpm); Sleep(800); } return 0; } void duizhangcaozuo() { 开始类 tg; CString zz=tg.zhaoguaichengxu(); while (ppl!=tg.dangqinditu()) { TRACE("123"); Sleep(1500); } HANDLE dengdeng00100=AfxBeginThread(fuzhi01, (LPVOID)(LPCTSTR)zz); } DWORD WINAPI huishimen(PVOID pParam) { CString p=huoqumingzi(); if (p=="叫我老衲大人") { duizhangcaozuo(); } else { duiyuancaozuo(); } return 1; } void CDLLchuangkou::OnBnClickedButton16() { HANDLE dahanshu = CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)huishimen,NULL,NULL,NULL); } bpm接收到的是一个乱码 |
|
[求助]百思不得骑解,求大神教教
CString zz是从函数返回的字符串.开启fuzhi01线程,bmp能接收到这个字符串.程序也能顺利执行想要的. |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值