4DQuiz


OT BLOBToObject View from small screen devices!  

OT BLOBToObject version 1

OT BLOBToObject(inBLOB {; ioOffset}) Longint

Parameter Type Description

inBLOB BLOB A BLOB which contains an object

ioOffset Longint The offset within the BLOB where

the object can be found

Discussion

OT BLOBToObject retrieves an object from a BLOB into a new object handle. The Object must have been stored in the BLOB with OT ObjectToBLOB, not with VARIABLE TO BLOB.

If ioOffset is not passed in it defaults to zero.

If the bytes at the given offset do not describe an object stored with OT ObjectToBLOB, an error is generated, OK is set to zero, ioOffset is left untouched and a null handle (0) is returned.

Warning The handle returned is a new object that is added to ObjectTools’ internal list of objects. You must be sure to clear the new object with OT Clear when you no longer need it.

See Also

OT ObjectToBLOB, OT ObjectToNewBLOB



Topics of Interest
Import/Export Routines
Object Utility Routines
OT GetHandleList
OT ObjectToNewBLOB
OT CompiledApplication
OT ObjectToBLOB
 

Published date: Fri, 14 Jul 2006 18:39:05 GMT   → View XML Version

Edit this page now

© 2005 - 2006 4dquiz.com, All trademarks accepted. All Rights Reserved!
Site Index