welcome.. that's me again.. the lines in *idl is as follows:
interface nsIIalTvTuner; (...) //dome other stuff nsIIalTvTuner getTunerByIndex(in long index); line above is translated into c++ as: NS_IMETHODIMP nsIalTunerStatusEvent::GetTuner(nsIIalTuner * *aTuner) ok this method's return value (acutal one - i mean: nsIIalTuner **aTuner) 1. what if there exist a nsIalTuner instance already (rather persistently) and I wish I made it accessible for upper layers through for example (simplyfying of course) : *aTuner = &my_tuner_instance; this instances shall be destroyed while an object containing them is being destroyed.. mentioned object is created seldom but persistantly - once per plugin load :) I wish it was possible, but i'm not sure of some mechanisms ruling o'er a mozilla's plugins.. 2. maybe it has a memory allocated under **aTuner and **aTuner=my_tuner_instance is enough (I SUPPOSE 'TIS NOT!! but i havn't found anything about this in docs).. 3. Is it neccessary to call a CREATE_INSTANCE(...) macro while returning an objects.. please help!! i'd be very greatful for any support.. kindest regards _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
