如何给自己编写的软件设置时间限制或使用次数限制 我自己编写了一个软件,为了防盗版,我想给它加上使用时间限制,或使用次数限制让它到了一定的时间或执行了一定的次数后不能再使 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 #define LASTDATE 20030505...CTime date = CTime::GetCurrentTime();int year,month,day;CString str;year = date.GetYear();month = date.GetMonth();day = date.GetDay();str.Format("%04d%02d%02d",year,month,day);int m_iCount ;m_iCount = atoi(str) - LASTDATE; if(m_iCount>=0){ AfxMessageBox("软件已经过期!"); exit(-1);} CHtmlView如何获取ajax加载后的节点 资源共享:魔兽键盘修改(改键不影响聊天) 如何用ShellExecute执行一个内部命令 一个比较搞笑得笑话..... :) 坐标变换和BitBlt vc++遍历oracle数据库的表名 debug下出现exited with code -1073741819 (0xC0000005). 新手求指导 vc++调用Webservice接口问题? VC 中 MAKELPARAM 如何用基本代码写成的程序。 用程序控制光驱 高手来看看进程问题。 ComboBoxEx在 SetImageList 时出错
...CTime date = CTime::GetCurrentTime();int year,month,day;
CString str;year = date.GetYear();
month = date.GetMonth();
day = date.GetDay();str.Format("%04d%02d%02d",year,month,day);
int m_iCount ;
m_iCount = atoi(str) - LASTDATE;
if(m_iCount>=0)
{
AfxMessageBox("软件已经过期!");
exit(-1);
}