hi,

there is never a main function in a dll file... u can NEVER run a dll file, but only executable..remove the main function.