So we’ve reached a small milestone this week.. I’ll start from the beginning.
Before Mozilla was even a consideration for client side development, we had developed some c++ communication components to run on the server end. So naturally, when Mozilla came along, we had the bright idea to try and re-use this code on the client side as an XPCOM component. This all went well until we made our first attempt to port the code to Windows. Not all of the open source code libraries we were using were developed with Windows in mind. We had some success, but it looked like the porting process was going to turn into a long term battle that would verge on resulting in two different code bases that didn’t behave exactly the same – when the whole point was to use just one.
For more on using XPCOM in Mozilla, see http://www.xulplanet.com/