I can't really place the language you are writing the DLL in really... maybe you should try the developement part of the forum for indepth help on the DLL