If I execute de line $pBroadcast.GenerateAnnoucementFile($p1)
I get the error -2147352570 Unknown name.

You are right, there is a problem invoking the function. Is there a way of carrying out this function. I double checked with an ActiveX/COM analyer, I can see it, may be kixtart is not able to handle this type of function ? or I'm not invoking the function in a rigth way ?

What do you think about it?