Forget dynamic linking if you want security. There are about 1001 different ways of intercepting a dynamically loaded DLL. X| To make it as hard as possible, do static linking. At least then you put the cracker to work. :) To be real pessimistic, there is no real way to protect software in currently available mainstream operating systems. Nobody has a rigid set of security policies implemented. There will always be ways to trick the system, some harder than others. -- we dance to the sound of sirens and we watch genocide to relax we dance to the sound of sirens we are the heroes of self-deception