On Thu, Sep 09, 2004 at 02:50:45PM +0100, Nikhil Kadu wrote:
> I am passing an interface pointer to a method in following manner.
>  
> /* void Create(out nsIStatement statement); */

No, you are getting an interface pointer from a method here, not passing
one to it.

> Is there any way to pass a C++ pointer like ' void * ' from one interface object to 
> another ? Can we wrap the 'void *' in some interface object and then pass it?

See
http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsISupportsPrimitives.idl#276

In short, yes, nsISupportsVoid can wrap any void* pointers.
-- 
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to