Wei Shao wrote:
 NotifyObservers(nsISupports *aSubject, const char *aTopic, const
PRUnichar *someData);

can I pass some binary data(e.g, a structure object ) in the last
argument ?

Well, depending on what exactly you're doing that may or may not work, but why not pass it as the first argument instead? Can you make your structure inherit from nsISupports? Or you could use nsISupportsVoid.


--
All the world's a stage,
And all the men and women merely players:
They have their exits and their entrances;
And one man in his time plays many parts, [...]     --W. Shakespeare
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to