Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Mgmt & native objects vs. COM objects
Message
 
To
01/08/2001 10:08:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00538233
Message ID:
00538443
Views:
11
Hi Linda,

>Thanks Vlad, However, I would guess that procedures do not go into memory when a native object is instantiated. For example, if I instantiate an object and then try to access the VCX, I am locked out...this implies that FoxPro is "using" the VCX table as a table and not copying all the data somewhere else.

VFP opens all class libraries that are needed by an instantiated class in datasession 0, the so called system-datasession. The VCX is opened in shared mode, but since its open in a different datasession, you can't open a VCX exclusively once it has been loaded.

However, what VFP internally uses is a memory structure that is created the first time a class is loaded and duplicated for each instantiated object.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform