Probably because of this line:

set %Nickname $com(objNickname).result

set %nickname $com(objRecordset).result

Now where do i get zobdc.dll??