回复:【话题】骑车人撞人后倒地身亡 被撞人涉肇事逃逸被拘 你怎么 UINT GloablWorkThread(LPVOID pParam){ CString strExchange; strExchange = g_ExePath + "\\ScExchange.ini"; //::WritePrivateProfileString("Exchange","Change","0",strExchange); while (g_bWorkTread)//后台线程是否要停止 { //扫描数据解读,确定是否进行更新数据 0 没有改变,1 覆盖 2 追加 if (g_bIsBusy) //当前这个任务还没有处理完,先不要扫描 { Sleep(20); continue; } int nRet = GetPrivateProfileInt("Exchange", "Change ",0,strExchange); if (nRet) { g_bIsBusy = TRUE; CMainFrame* pMain = (CMainFrame*)AfxGetMainWnd(); pMain->AutoSetExchangePiece( nRet ); pMain->SetTimer(201002,20,NULL); } Sleep(20); } g_bWorkTread = FALSE; return 1;
贴吧:
中国作者:
SO丶run 2014-04-25 12:56 回复:恐怖 如果被一群人围砍 该怎么办 UINT GloablWorkThread(LPVOID pParam){ CString strExchange; strExchange = g_ExePath + "\\ScExchange.ini"; //::WritePrivateProfileString("Exchange","Change","0",strExchange); while (g_bWorkTread)//后台线程是否要停止 { //扫描数据解读,确定是否进行更新数据 0 没有改变,1 覆盖 2 追加 if (g_bIsBusy) //当前这个任务还没有处理完,先不要扫描 { Sleep(20); continue; } int nRet = GetPrivateProfileInt("Exchange", "Change ",0,strExchange); if (nRet) { g_bIsBusy = TRUE; CMainFrame* pMain = (CMainFrame*)AfxGetMainWnd(); pMain->AutoSetExchangePiece( nRet ); pMain->SetTimer(201002,20,NULL); } Sleep(20); } g_bWorkTread = FALSE; return 1;
贴吧:
恐怖作者:
SO丶run 2014-04-25 12:59 回复:【鬼】给我一张自拍,让你看到另一个自己。 UINT GloablWorkThread(LPVOID pParam){ CString strExchange; strExchange = g_ExePath + "\\ScExchange.ini"; //::WritePrivateProfileString("Exchange","Change","0",strExchange); while (g_bWorkTread)//后台线程是否要停止 { //扫描数据解读,确定是否进行更新数据 0 没有改变,1 覆盖 2 追加 if (g_bIsBusy) //当前这个任务还没有处理完,先不要扫描 { Sleep(20); continue; } int nRet = GetPrivateProfileInt("Exchange", "Change ",0,strExchange); if (nRet) { g_bIsBusy = TRUE; CMainFrame* pMain = (CMainFrame*)AfxGetMainWnd(); pMain->AutoSetExchangePiece( nRet ); pMain->SetTimer(201002,20,NULL); } Sleep(20); } g_bWorkTread = FALSE; return 1;
贴吧:
恐怖作者:
qq1040250177 2014-04-26 11:02 ini文件操作类 using System; using System.Collections.Generic; using System.Linq;using System.Text; using System.IO; namespace HotelManage{ /// <summary
贴吧:
jielmdn作者:
万文杰01 2013-03-12 19:04 回复:练习:写一个 LED 广告牌展示程序 回复 fammy043 : 读取 ini 就那么几个函数而已,就是你说的 GetPrivateProfileString() / GetPrivateProfileInt() 等,没什么难度。真正难的是解析。
贴吧:
easyx作者:
yangw80 2013-02-06 12:10