Hello. I'm fairly inexperienced with c++ (took AP CompSci in high-school two years ago), and also new to XPCOM. As a result, some parts of the tutorial provided at http://www.mozilla.org/projects/xpcom/book/cxc/html/newbookTOC.html seem very confusing.
Here's what I've managed to work out: I created a new project, for which I set up Visual C++ 6.0 to work with XPCOM and the Gecko SDK. I then copied the source displayed at http://www.mozilla.org/projects/xpcom/book/cxc/html/weblock.html#998205 into weblock.cpp, and compiled as a release. I went into the generated folder, copied the .dll, and pasted it into my mozilla components directory. Next, from the command prompt (in my Mozilla directory), I ran regxpcom.exe -x "C:\Program Files\Common Files\mozilla.org\GRE\1.6_2004011308" WebLock.dll and got a successful confirmation message. But when I run Mozilla and start the Component Viewer, "@dougt/weblock" is nowhere to be found. It's a little disheartening, since this is just the first step. I'll be making another post (to keep the replies separated) about questions I have regarding iWebLock, IDL, and the organization of these files. Any and all help is very much appreciated. _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
