PA_IsDemoVersion


version 2003


PA_IsDemoVersion → char

Parameter Type Description
This command does not require any parameters
Function result char 1 if the 4D application is a limited demo version

Description

The command PA_IsDemoVersion returns 1 if the running version of 4th Dimension is a demo version, otherwise it returns 0.

Testing the type of running application is useful in defining different initialization methods, testing serial numbers, etc.

Example

See PA_Is4DServer for an example.

See Also

No reference.

Error Handling

PA_GetLastError

always returns eER_NoErr