Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOM utility
Message
 
 
To
02/03/2000 12:42:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00338633
Message ID:
00340687
Views:
56
>>Sorry, no. The fact that VFPCOM uses an alias name, and not the table from disk means that VFPCOM is DIRECTLY accessing data from the calling process. Otherwise, how can it scan the table to grab the values? Remember, the cursor in question may not live on disk at all- it may only live in VFP's memory space.
<<

Right, via the LCK...



>>COM Servers never had nor will they ever have direct access to data from a calling process. I have never tried to make that argument. And, VFPCOM does not have a magical power that allows it either...
>>
>>Has this whole thing been de-mystified now???
>
>Sorry, no. The fact that VFPCOM uses an alias name, and not the table from disk means that VFPCOM is DIRECTLY accessing data from the calling process. Otherwise, how can it scan the table to grab the values? Remember, the cursor in question may not live on disk at all- it may only live in VFP's memory space.
>
>Open a table or view with row buffering on, and change a value in the current record. Employ VFPCOM to create an ADO recordset from that table, using the CursorToRS function.
>
>Now notice that the value that you changed in the table has been written to disk, and the buffer is clean. This means that VFPCOM moved the record pointer. What other COM object do you know of that can do this?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform