Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multitasking COM
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00559086
Message ID:
00559231
Views:
19
>
>That's exactly what I have now. I am just trying to avoid creating many instances.
>
>The stub creates an instance of the COM object. I want to keep the state of each instance around. But every instance is 20MB. That means running out of memory pretty fast. I guess I want to have code sharing.
>
>Maybe I am asking for too much. I don't believe VFP's runtime was designed to run as single instance multitasked.

I think one of the advantages of COM and COM+ is to have just-in-time instantiation of stateless objects, otherwise you will run into the problems you are having.
Previous
Reply
Map
View

Click here to load this message in the networking platform