I am a beginner to MFC VC++ . I am working on the project which is a trail version. It should run on system for 60 days trail period. I have to use the system registry to create a key with the installed date. Every time the user runs the software I have to match the installed date with current and show the remaining days the software could be used.