VpeLicense

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeLicense

Previous pageReturn to chapter overviewNext page

Licences the given document within the engine as full version, so the demo banners disappear.

void VpeLicense(

VpeHandle hDoc,

LPCSTR serial1,

LPCSTR serial2

)

VpeHandle hDoc

Document Handle

LPCSTR serial1, serial2

the two serial strings provided by IDEAL Software when you license VPE

Example:

If the license key has the following form:

VPE-A1234-123456

ABCD-EFGH

 

The the method is called with:

VpeLicense(hDoc, "VPE-A1234-123456", "ABCD-EFGH")

Remarks:

If you obtained additional license keys for add-on products, call this method for each License Key separately. It is necessary that the VPE module is licensed first before any add-on module is licensed. Otherwise the licensing of the add-on modules will fail.

 

If you are using a Server License, it is necessary that you call License() for all available add-on modules first, before setting the property EnableMultiThreading = true.