If you want to protect program from being cracked,I MUST tell you "this is useless."Better spend your precious time on something else. Against newbie
crackers you can use win32 packers which has build in protection. For example good one : ASPack.
Here,some comments about detecting the softice in win9x