Ruslan Zasukhin wrote:
>> tErrorCode = SetObjectData(tCursorRef, tFieldRef, tObjectRef)
> You mean put db field value directly into property of Object ? > > Then your syntax better looks as: > > cursor.SetProperty( ObjectRef, fieldNameOrIndex ) > > or: > > cursor.SetProperties( ObjectRef ) > -- fill all properties of object with the same names > as cursor fields. > > yes ?
Not quite...I want to stick the ACTUAL object into a Blob...then retrieve it later (of course)...
I make runtime generated apps...all data stored in a DB file, birthed into objects on the fly...and how it would fly if your marvelous engine was driving it...
Basically, the way you have SetMedia working, but for any Director object type, so it would need 2 fields (internally) kObjectType (eg, #string, #object, #image) and kObjectData (what was actually in the ram allocated to that object within Director)...
Martin/Andy - help me to explain this please ...
Later.
Elias. ©2001 Elias |