I have this function written in asp page which is include in the main page having the DLL, problem is I can&#039;t seem to call the function in the asp page from the DLL. The function is an array and produce a result call gen_key(7). I tried obj.response gen_key(7) but it gave me a "1" value rather than the actual value ie 7 digits. The scripts work in ASP so I suspect it could be my syntax, I declare gen_key(7) as a string. Is this correct ? Thanks<BR><BR>CK