This post is in reference to the tutorial found at http://www.mozilla.org/projects/xpcom/book/cxc/html/newbookTOC.html
My goal with this tutorial was not to get WebLock working as a fully-functional browser addition. My goal was simply to understand the basic setup of a project like this one, the idea being that I can learn to make my own by pulling apart someone else's. So my question is this: How do you set up the files (weblock.cpp, iWebLock.idl, etc) and compile them into an XPCOM component and interface? When I run xpidl on the provided iWebLock.idl, I am provided with a header file, and the tutorial says to copy its stub methods "into the source." Does this mean that I need one Visual C++ project with an iWebLock.h and an iWebLock.cpp? Or does "the source" refer to weblock.cpp? My hope is that once these semantics are worked out, I'll be able to proceed on my own, but as it is, I'm very very stuck. Thanks for any help. _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
