I'm about to add the functionality to Register the game to a user. The question I have is: where in the registry do I store the users' activation number ?
I'm no registry expert, but I believe you'd just create a key in HKEY_LOCAL_MACHINE/Software/whatever.
Of course, you may or may not want to hide or encrypt it somehow - as well as doing something else with files or comparisons with other registry entries. Probably more trouble than it's worth.
The real issue, in my opinion, is to not have something in your code that's extremely easy to hack. Like a simple if/then at one point is easy to pick up on and bypass - especially if the registry string is in the code right before the branch.