What's wrong with encrypting the entire script (KiXCrypt)? Seems to me that's the easiest route.

ELSE

What about existing DLLs or OCXs that may already exist. Do they have published APIs?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.