wodImapServer ActiveX Component - Technical and distribution information
 

 

General

wodImapServer component has two versions (both included in the package):

wodImapServerCom is a COM object (wodImapD.dll), designed to be initialized dynamically from your code, and declared from within your code. It does not have user interface, it is windowless. Usually, you will initialize it with

Dim WithEvents Imap as wodImapServerCom

and wodImapServer as ActiveX control (wodImapD.ocx) - designed to be put on application's form using drag&drop from control toolbox. Once you put it on the form, no special code is required to initialize it, since your environment (usually VB) will handle it.

COM object licensing is not directly supported by any container. Unlike ActiveX controls which are licensed the moment you put them on the form (if you have licensed version of wodImapServer, of course), you need one more line to put in your code to license wodImapServer correctly:

 
Imap.LicenseKey = "put.your.key.here"
 

COM Object information
Filename wodImapD.DLL (wodImapD64.DLL for x64)
Class name WeOnlyDo.wodImapServerCom.1
Class ID {AC11C3CF-20D4-47E2-8488-081CBCE19D44}
Events class ID {0x7FCA89EE,0x3680,0x4B1B,{0xA2,0x93,0x49,0x16,0x84,0xD9,0x44,0x5E}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required.


ActiveX Control information
Filename wodImapD.OCX (wodImapD64.OCX for x64)
Class name WeOnlyDo.wodImapServer.1
Class ID {F72CD1B0-EC24-4571-B031-083B1E505C25}
Events class ID {0x602B3272,0x1FB8,0x402E,{0xA8,0x81,0x53,0x4B,0x40,0xE8,0x5B,0x7B}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required.


Interfaces
IImapFolder {9D95DA00-FF32-4A0D-BE9E-99B43878DBF5}
IImapFolders {2248DA3F-87DB-4667-9B44-7D1D4B0BB25A}
IImapMessage {5CA0AE9D-5EDD-4F85-BB05-FA8DE0CDB5BD}
IImapMessageHeader {75F9FB93-3E52-4E07-8905-43CD2D830C0C}
IImapMessageHeaders {A8503343-C2FD-4EA9-B76A-BA76E19203A9}
IImapMessages {AF558819-0F34-43A5-A0F2-3BE0E518A02A}
IImapUser {0196B1C2-9542-428B-B443-9A4F8E8C832C}
IImapUsers {3E383B7A-2153-4DB3-BF4D-FAD419C3050B}
IwodImapNotify {F4B585E7-9990-4d3e-9FD4-C24C186FB3CA}

 

Documentation
Help filename wodImapD.CHM
 

Distribution note

When you develop and distribute an application that uses this component:

1. Choose between COM object (wodImapD.DLL/wodImapD64.DLL) and the ActiveX control (wodImapD.OCX/wodImapD64.OCX) to include into the installation package. Both versions are independent on each other.

2. Above binaries can be included royalty-free in your application.

3. Use RegSvr32.EXE (or any other installer package creator) to register both the OCX and the DLL. Usually, installer software will do this for you

4. Install the component file(s) into the user's Windows SYSTEM32 folder. The component file(s) has/have version information built into it. So, during installation, you should ensure that you are not overwriting a newer version.


Using licensed version

To use retail (licensed) version in your code, put your license key into LicenseKey property, immediately after initializing the component. For ActiveX control, you cannot do this (there is no LicenseKey property) because your license key will be read internally by wodImapServer.