Global Library Functions 

PxIOActivation

 

Description

Activates the PxIO Library

Format

int PxIOActivation(const char *activationString, int activationNumber);

Where:

activationString

Null-terminated registration string provided by Pvx Plus Technologies Ltd.

activationNumber

A registration number provided by Pvx Plus Technologies Ltd.

Return Value

If the function succeeds, a value of PXIO_SUCCESS_STATUS is returned; otherwise, an error value is returned. More information on the nature of the error can be found by calling PxIOGetError.

Note:
Ideally, this will be the first function called. It should be called prior to opening any files to provide the library with a valid activation. Without activation, a warning message that requires user intervention will be displayed whenever a file is opened with the PxIOOpen function.