>>>>> "JB" == John Bandhauer <[EMAIL PROTECTED]> writes:
JB> It should be of type nsQIResult - or some '[ptr] native' type that
JB> you make up (see the nsQIResult declaration in nsrootidl.idl). The
JB> issue is that by declaring it nsISupports you are saying that it
JB> has a specific type - nsISupports - yet you also declare that its
JB> type will be told at runtime by using iid_is. This confuses the
JB> system.
This reminds me of something I bumped into recently.
Is there a way to return an iid to JavaScript? Alternatively, is there
some way to do a QueryInterface and return an unspecified interface?