General information
Category:
COM/DCOM and OLE Automation
>
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only