I'm trying to use XPTC_InvokeByIndex().  At the point where I want to do 
this call, all I have is an unknown interface cast as nsISupports, a string 
containing the name of the interface, and a string containing the method I 
want to call.  I was hoping to use nsIInterfaceInfoManager and 
GetInfoForName() with the interface name to get the nsInterfaceInfo and 
then use GetMethodInfoForName() with the method name to get the index.  
However, the nsIInterfaceInfo always shows that nsIDOMDocument only has 
three methods (QueryInterface, AddRef, and Release).  Does anyone know why 
this interface works this way yet other interfaces such as nsIInputStream 
work fine?

Thanks for any help,

Bill Phillips 

Reply via email to