Step Seven Allocate memory for the record buffer

Using the cursor properties obtained in the previous step, you must allocate memory for the record buffer:

GetMem(pRecordBuf, CursorProps .iBecBfSize * Si zeof (BYTE))

Be sure to verify this step by checking the size of the allocated buffer space. If the buffer has not been established, further steps in this process will be unsuccessful.

Was this article helpful?

0 0

Post a comment