It's been awhile, but I think these were the rules I used:

Restrict use of xpcom/utility macros (like NS_WITH_SERVICE, etc).
Don't use NS_IMPL_NSGETMODULE.
Don't use nsComPtr, getter_addrefs, etc.

Roll your own nsIModule derived class.
Implement your own NSGetModule.
Use AddRef(), Release() and QueryInterface() directly.



On Wed, 20 Jun 2001 22:36:38 -0700, "Peter Sorotokin"
<[EMAIL PROTECTED]> wrote:

>"Sean Echevarria" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Although it is possible to create an xpcom component without linking
>> with xpcom, there are no samples.
>
>Mozilla, the Land of Possibilities...
>
>Can anyone at least outline what has to be done? Should I simply copy and
>paste
>whole nsIModule implementation (along with that cute comment explicitly
>asking not to do that)? This is the only way I could come up with.
>


Reply via email to