Thanks very much Pete,
Managed to get your example working.
For dummies like me --> also found this sample directory
(~/mozilla/xpcom/sample) and just modified the files in there so I managed to
build my xpcom component. Anxiously hacking on....
Cheers,
Roger
pete collins <[EMAIL PROTECTED]> wrote:
>
> Here is a doc for doing a Hello World js component. (Stolen from
> nsISample)
>
> http://www.mozdev.org/notes/hello_world_js_component.html
>
> --pete
>
>
> [EMAIL PROTECTED] wrote:
> >
> > Hi,
> >
> > (Warning: question from an absolute xpcom beginner.....)
> >
> > I want to learn how to write xpcom components, so I found the HelloWorld
> > example in the article "Extending Mozilla Or.....". So on my linux box
> > installed M18 and created a the directory ~/mozilla/helloworld in which I
> > created the idl file, the generated header file and the cpp files as in
the
> > article. Now how do I go on from here??? I assume I need a makefile which
> > creates a shared library and compiles the main.cpp file. Is that all???
> > Can anyone take me a step further....
> >
> > Cheers,
> >
> > Roger
> > __________________________________________________________________
> > Get your own FREE, personal Netscape Webmail account today at
> > http://webmail.netscape.com/
>
>
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/