mozdev.org

moztorch

resources:

Creating a new Component (Win32)

This guide is intended to walk the reader through setting up a skeleton XPCOM project in Microsoft Visual Studio 6.0. Familiarity with XPIDL and C++ is assumed.

Download the following packages:

Configure Environment:

Setup new Visual Studio project for XPCOM component:

Create Interface Definition: $IDL.idl

Create Component Header File: $COMPONENT.h

Create Component Source File: $COMPONENT.cpp

Create Module Source File: ${COMPONENT}Module.cpp

Build the component: $COMPONENT.dll

Register Component with Firefox

The moztorch project can be contacted through the mailing list or the member list.
Copyright © 2000-2009. All rights reserved. Terms of Use & Privacy Policy.