
This is a sample application that demonstrates "Additional features".
You must follow this steps in order to test the application:

0) Open and compile UnlockLevelsDemo.dpr
1) Run UnlockLevelsDemo.exe
2) The main form of the program shows the registration code (blue bold text).
3) Annotate this registration code.
4) Run the key generator.
5) Enter the following text in the edit that prompts for the Application key:
   UNLOCKLEVELSDEMO.DPR=FF97F5A4DE270559

6) Enter the registration code annotated is step 3, in the edit that prompts for the registration code. 

Now comes the good part.

7) Click on the little box "feature 1" on section "Additional features" of the Key generator.
8) Press the button "Generate key"
9) Annotate the registration key.
10) Enter this registration key in the "registration key" edit of the protected program. Press "Register" button.


If all the steps were followed correctly, you will see an image on the left side of the screen.
(This is what version 1 of the sample program does)
To see an image on the right, repeat all steps but checking on "feature 2" on the key generator. (Protected program, Version 2 displays an image on rigth side)
To see both images, repeat all steps but checking on both "feature 1" and "feature 2" 
If you enter an incorrect registration key, the program will NOT show any image.


Please note that these steps are just the common ones followed to register a user. The protected program checks the property SupportedCapabilities in order to know which features are enabled. I am sending you the source code of this example, to show you how easy it is to implement unlock levels.
Note: the demo version of "key generator" can only generate keys with "feature 1" or "feature 2" enabled.
"feature 1" refers in this case to the version that "display image on the left"
"feature 2" refers in this case to the version that "display image on the right". Sorry if the resolution of the images is too low, it is just an example. Unlock levels can be supported by enabling/disabling menu items, 
components, etc.




Reinaldo Yaez Arrey.
ryaayr@yahoo.com
rya@labs.df.uba.ar