DQBpeek
SUB

Prototype

DECLARE SUB DQBpeek (BYVAL DataSeg, BYVAL DataOff, BYVAL Offset AS LONG,
                     BYVAL Length)

Parameters

DataSeg - Segment of QB array or variable where data is copied from EMS

DataOff - Offset of QB array or variable where data is copied from EMS

Offset - Absolute offset into allocated EMS memory where to take data

Length - Length in bytes to copy

Returns

none

Description

DQBpeek allows to copy data from the user EMS memory area (whose dimension was set by the third parameter of the DQBinit function) into a QB array or variable. The Offset parameter specifies in byte units where to begin copying data; this offset is absolute, and this means you refer to your user EMS memory poll as a flat table. Length bytes are copied from EMS.

Notes:

This function works best with big amount of data; see also DQBpoke

Example

See DQBpoke example