Just has a thought....

Isn't only allowing hacking of the OCX a bit pointless? If you want to crack the protection, you'd hack either the exe or the OCX. THe security is only as good as it's weakest point (so in this case you'd hack the exe sothat the IsCorrupt always returned false, and the hash comparison function always returned true. The OCX might be safe as houses, but if the way you call it is dodgy, then its effectively useless.

Next time Yash_Kumar, you probably need to let us hack BOTH files - If I want to break the security, I'll hack the exe, not the OCX (cos it's a lot easier)

- gaffa