In case it helps anybody else...nevermind on that last question. The db functions will be embedded methods in the dll...:)