| Getting Started in VC |
In order to insert the wodXMPP COM object into your project, follow these steps: 1. Install the component on your system by starting its setup program. 2. In the Visual C++ Compiler IDE, create a project or open an existing one. 3. Recompile and then open ClassWizard 4. Click on the 'Add Class' button and then on 'From a type library' 5. Locate wodXMPP.DLL and select it. Select all offered interfaces. Click on 'Ok'. VC will now generate wrapper classes for all interfaces. 6. wodXMPP is now declared as COleDispatchDriver - you can initialize it from the code like this: // in header file
// in CPP file
7. Do not forget to distribute wodXMPP.DLL when using the COM object!
In order to insert the wodXMPP ActiveX control in your project, follow these steps: 1. Install the component on your system by starting its setup program. 2. In the Visual C++ Compiler IDE, create a new project or open an existing one. 3. Click on 'Project', then on 'Add To Project', then on the 'Components and Controls' menu 4. in the 'Registered ActiveX Controls' directory select 'wodXMPP Class', click on the 'Insert' button, close the dialog 5. The compiler will insert the control into the project and create appropriate wrapper classes. 6. Do not forget to distribute wodXMPP.OCX when using the ActiveX control! |