Messenger Plus! Live - Scripting Documentation

The DataBloc::ReadBSTR function reads a BSTR string from the memory block.

Syntax

[string] ReadBSTR(
    [number] Offset
);

Parameters

Offset
[number] Index in the memory block where the string will be read. It must point to the start of a valid BSTR string (must be the same index specified in WriteBSTR).

Return Value

The string read from the memory block. If the Offset specified does not appear to point to a valid BSTR string, the function fails and throws an error.

This function typically fails for the following reason:

Remarks

None.

Function Information

Object DataBloc
Availability Messenger Plus! Live 4.00

See Also

DataBloc Object, WriteBSTR.