BB FlashBack SDK: FBEditor

SetRuntimeLicence

Description

Sets the 'runtime' licence that licences applications produced using the FlashBack SDK so they can run on end-user PCs.

Syntax

[C#/C++]
public void SetRuntimeLicence (BSTR sLicence)

[VB.NET]
Public Sub SetRuntimeLicence (ByVal sLicence As String)

Remarks

When running applications produced using the SDK on PCs that do not have the SDK installed (i.e. end-user PCs), the runtime licence must be set before any methods are called or properties accessed on an instance of FBEditor. If the runtime licence is not set, all calls will fail.

It should be set to the runtime licence string obtained from the SDK Licensing utility or via the GetRuntimeLicence method. See Runtime licensing on end-user PCs for details.

Note for Delphi users: Delphi has a limit for string literals of 255 characters. The runtime licence exceeds this limit, so you must break the licence string into two literals. i.e. code like MyEditor.SetRuntimeLicence("abcdef..." + "lmnop...");

See Also

FBEditor::GetRuntimeLicence  FBEditor::RuntimeLicence  Runtime licensing on end-user PCs