摘要:
在程序初始APP的初始化中加入://先获得当前的系统时间CTime CurTime = CTime::GetCurrentTime(); //检查软件是否第一次运行,如果是则设定限制时间//我们这儿设定软件在当前时间两分分钟后禁用if (!IsInstalled()){CTime t = CurTime + CTimeSpan(0,0,2,0); SetLimitTime(t.GetYear(),t.GetMonth(),t.GetDay(), t.GetHour(),t.GetMinute(),t.GetSecond());}else{//如果软件不是第一次运行,//则读取注册表中的时间值, 阅读全文
posted @ 2007-03-08 12:04
橘子皮
阅读(448)
评论(0)
推荐(0)

浙公网安备 33010602011771号