As should be clear by now, there are a million things to hack in a million different ways.
By just guessing what his situation is we can give advice all day long and never provide what he needs.
3TATUK2, you should be reading all replies and thinking about what information you wish to share. Is it offline or online? What kind of data do you wish to protect? Do you wish to prevent certain kinds of behavior?
Another over-generalized piece of advice I can give you: Never use globals/statics/singletons/etc. Not only is it a sign that your code is bad, it is a hacker’s dream-come-true. Anything that never changes addresses in the final .EXE (or changes predictably, such as global data inside DLL’s) makes a hacker’s job 10 times easier.
L. Spiro