harry <[EMAIL PROTECTED]> wrote:
> But if i want to add some more methods which takes complex data types
> likes strings ......
>
> i have no knowledge abt string data types in XPCOM......

http://developer.mozilla.org/en/docs/XPCOM:Strings

> suppose i want to add
>
> RSSFeedsPage(BSTR ToURL, VARIANT_BOOL* IsRSSPage) method
>
> i tried but it is giving undeclared identifier for BSTR...

Put this declaration into your .idl file:

    boolean RSSFeedsPage(in AString ToURL);

Compile with xpidl compiler, see what the declaration looks like in the 
resulting .h file.

> Is XPCOM does not support these data types of  COM...

No. XPCOM supports data types of XPCOM. Why should it support those of a 
largely unrelated technology?

Igor Tandetnik 


_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to