Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing states of objects
Message
 
To
01/10/2001 07:58:07
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00562427
Message ID:
00562494
Views:
17
Hi!
I think it not possible in VFP6.
It may be done easily in C++ with OLEDB datasource (for instance, take a look on article "Getting and Setting IPersist* Objects" in OLE DB Programmer's Reference).
Probably it may be done in VFP7. AFAIK VFP7 can work directly with COM interfaces. You need to use Load and Save methods of IPersistStorage, IPersistStream or IPersistFile interfaces of COM object.
Good luck!

>It was not the thing i was looking for. Just as one can store an array into a memo-field i would like to store an object in a table. The object i like to store is created from a COM-object written in java. Instead of creating an empty object for every instance i would like to review it would be much simpler to retrieve the object from a table. I understand that it has something to do with "State".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform