DaveC, thanks you man. this $iif($dll(moo.dll,interfaceinfo,_),$v1,no connection detected) worked very well, and that i needed.

thanks a lot.