On Fri, 16 Mar 2001 14:29:24 +1300, Patrick McHale
<mchalepNO#[EMAIL PROTECTED]> wrote:

>Okay - I would like to know how the CID number is generated - Do I use the
>GUIDGEN program to create both an IID number and a CID number.  I take it

yes

>that these numbers have to be different to each other. How does the CID

yes

>number interact with the system.  Is this like a component registration
>reference number?.

yes - as opposed to a contractID which is a component registration
reference string.  Both the CID and the ContractID are used when you
register a component via a nsModuleComponentInfo struct.


>I have gathered that the IID number is placed in the header file which is
>included by the application code when it is built and the xpt file is
>placed in the components directory.  My way of thinking is that the xpt
>file is simply a reference to where Javascript can connect to the code in

no - an xpt file is a cross-platform type library that is required for
xpcom.  It doesn't enable just javascript to c++ calls, but component
to component calls (in whatever language).

>the the plugin.  Probably got my terminology and ideas totally wrong here
>but I am trying to understand how this work in the basic sense for an
>absolute beginner to XPCOM.  Please could someone help to understand this
>process.

Check out the docs at http://www.mozilla.org/docs/ and
http://www.mozilla.org/projects/xpcom/ 



Reply via email to