wodVPN ActiveX Control - Technical and distribution information
 

 

General

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

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

Dim WithEvents VPN1 as wodVPNCom

and wodVPN is an ActiveX control (wodVPN.ocx) - designed to be put on your application's forms using drag&drop from the control toolbox. Once you put it on the form, no special code is required to initialize it, as your environment (usually VB) will handle it. It has its own explorer-like user interface.

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

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

COM Object information
Filename wodVPN.DLL (wodVPN64.DLL for x64)
Class name WeOnlyDo.wodVPNCom.1
Class ID {459C65ED-AA9C-4CF1-9A24-7685505F919A}
Events class ID 0x3607E98A,0xC816,0x486C,{0xAE,0xC9,0xA6,0x4C,0x8F,0xDE,0xAB,0x6D}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++
Required DLLs None required.


ActiveX Control information
Filename wodVPN.OCX (wodVPN64.OCX for x64)
Class name WeOnlyDo.wodVPN.1
Class ID {996A63EE-3AF4-4975-89F4-C6B10F4E530C}
Events class ID {0x8F71FDB7,0xAFD5,0x4CB8,{0x9C,0x5E,0xB3,0x07,0xD4,0xC9,0x64,0x33}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++
Required DLLs None required.


Interfaces
IwodVPNNotify {1646101F-5EDD-456c-A734-E6E7456C7C1F}

Virtual Network Adapter
wod0205.sys System driver binaries
wod0205.sys Driver catalog file
OemWin2k.inf Driver installation file
DrvInst.exe Driver installer

Documentation
Help filename wodVPN.CHM

Distribution note

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

1. Choose whether to include the COM object (wodVPN.DLL/wodVPN64.DLL) or the ActiveX control (wodVPN.OCX/wodVPN64.OCX) into the installation package. The COM object and the ActiveX control are independent on each other. You should also distribute wod0205.sys, wod0205.cat, OemWin2k.inf and Drvinst.exe if you plan to distribute network adapter.

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

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

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


Using licensed version

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