Trial Version Software

Discussion in 'C++' started by techinspiration, Mar 23, 2010.

  1. techinspiration

    techinspiration New Member

    Joined:
    Feb 14, 2010
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I want to put my C++ windows app online so people can download it and try it out. I want to make this download a trial version, so that after 30 days the user will be forced to enter a code in order to proceed using it. How can I do this?, are there a number of ways? and what do they involve?

    Thanks.
     
  2. inspiration

    inspiration New Member

    Joined:
    Feb 15, 2010
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    0
    I'm not sure how to EXACTLY do it as I never had to use such a method before.... But it would involve setting a timer (WM_TIMER) and/or just save something in registery or some file whatever suits you
     
  3. davidk

    davidk New Member

    Joined:
    Mar 25, 2010
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    0
    Home Page:
    http://www.firmdev.com/firm_framework
    A very simple way to include protection in your shareware:

    1. During the installation of your application you may create the key in the Windows registry. This key may have a value like date of original installation.

    2. While a user evaluates your software, during startup you compare the current date and the installation date. If their difference is more than 30 days - let the user see a message box like "evaluation period has expired, please register" and let him enter the unlocking code.

    3. Once the unlocking code is entered, you may remove the key you had created on step 1 or set the evaluation period to, say, current date + 1 year.

    This is just a simple example of how to protect shareware, but there are many other more advanced techniques to make that.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice