如何制作软件试用期?(c ++代码) [英] How to make software trial period ?(c++ code)

查看:366
本文介绍了如何制作软件试用期?(c ++代码)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我!!!给c ++试用期代码

我有一个应用程序这是alredy许可证但是在这个应用程序中使用我的functionlity把custome .afl文件这个文件make在c ++我做这个.afl文件作为试用期。那么如何将这个.afl文件作为7天的试用期.....所以PLZ帮我...

please help me!!!give c++ trial period code
I have an application this is alredy license but in this application use my functionlity put custome .afl file this file make in c++ i make this .afl file as trial period.So how to make this .afl file as 7 day trial period.....so plz help me...

推荐答案

如何关于:

How about:
at startup, check if the first start time is stored somewhere in the registry (you chose a registry path of your own)
- if yes, calculate the elapsed time since that date
     if expired --> exit
     if not expired --> continue
- if no, set the current time in some registry variable --> continue



问候

Andi



PS:这是基础知识。您可以选择将日期存储在其他地方和/或计算第一个日期的一些哈希,以使其更难作弊...

PPS:我们不在此处编码。如果您有更具体的问题,我们很乐意帮助您:-)

PPPS:为什么要重新发布相同的问题两次(如何制作软件试用期? [ ^ ])?谨防被报告为垃圾邮件发送者=帐户被锁定!


Regards
Andi

PS: this is the basics. You may chose to store the date somewhere else and/or to calculate some hash with the first date to make it harder to cheat...
PPS: We do not do your coding here. If you have a more specific problem we are glad to help you :-)
PPPS: Why do you repost that same question twice (How to make software trial period ?[^])? Beware of becoming reported as spammer = account locked!


关于的代码项目文章[ ^ ]。
Code Project articles about[^].


这篇关于如何制作软件试用期?(c ++代码)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆