Hi...
Suppose there is a class nsFoo which is part of a factory and is located in
one of mozilla's dlls ( let's say DLL1).
I want to replace that class with my own implementation of nsFoo ( the IID
and CID will stay the same, the interface will be the same ), and
place this implemetation in a dll ( DLL2 ) for my embedded browser. I do
this by copying the nsFoo.cpp into my embedded/browser/... and modifying
that code to suit my needs. I want that each time the mozilla will want to
create an instance of the class nsFoo, my own implemetation of nsFoo will be
used and not the standard one.
The problem: after compiling my embedded stuff (with my copy of nsFoo.cpp),
I get a lot of errors(beeps). It seems that all the classes that were
bundled together with the standard nsFoo fail to be created. How do I tell
mozilla to continue using the DLL1 for all the classes except nsFoo, and use
DLL2 for nsFoo instead?
Thanks.
Eremia



Reply via email to