Hi Folks

Have successfully compiled the weblock1.cpp file the problem was that
the constructor for the sample class was malformed

Sample::Sample()
:mRefCnt(0){};

replacing the offending code with the above corrects the problem


i now have a further a problem in that the code that does the registering of weblock now informs me on compilation that nsMemory is
not a class and doing a basic search on both files reveals that
nsMemory is nowhere declared !


so my question in a nutshell is do i have to define this class
or is this class missing (or perhaps its defined in later code ,there is an idl for the interface to do v.soon)


will continue with idl and report back my findings, but will appreciate
ang guidance from someone who has already traversed this book



xpcom book is an excellent resource and well structured but does lack clarity in defining what the end game is in practical terms , ie what files we end up with ,what we will need to compile to get these files and and where the file will go, etc... and some problems with the code

kind regards
paul



_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to