Re: Class Not Registered - WeOnlyDo Discussion board

Re: Class Not Registered (General questions)

by woddrazen, Thursday, July 22, 2010, 11:56 (5028 days ago) @ Yaser

Yaser,


When did you receive such error? During wodVPN setup? I didn't see such error in paste.

When you install wodVPN you are receiving two component types. One is COM object (wodVPN.dll) and other is ActiveX control (wodVPN.ocx).

Only COM object has LicenseKey Property. This version is used inside our samples.

Inside samples you cannot find LicenseKey Property because sample is made for DEMO version and LicenseKey Property is only supported in licensed version.

ActiveX control (wodVPN.ocx) is licensed when you drag and drop it to your form so LicenseKey Property is not needed there.

In order to insert the wodVPN COM object in your project, follow these steps:
1. Install the component on your system by starting its setup program.
2. In the Borland Delphi Compiler IDE, create a project or open an existing one.
4. Click on 'Project', then on the 'Import Type Library' menu
5. Find 'WeOnlyDo! COM VPN Component' and click on the 'Install' button
6. You will be prompted to create and build a package for wodVPN, answer with Yes
7. You should see an icon in the Component Palette on the ActiveX Component's tab representing the wodVPN control
8. You can drag&drop wodVPN's icon onto your form
9. Do not forget to distribute wodVPN.DLL when using the COM object!


Drazen


Complete thread: