General information
Category:
COM/DCOM and OLE Automation
Title:
Object Pooling and Construction and JITA
It looks like VFP7 MTDLLs cannot make use of object pooling. I created a simple DLL that StrToFile's Sys(0) and put that in a new COM+ application (Win2K/SP3). The [x] Enable Object Pooling box is greyed out. Is that because VFP7 MTDLLs are really STA?
I can check enable object construction. Does anyone have an example of how I could use that with my MTDLL (have it read and acted upon in the Init perhaps)?
Is it worth it to have JITA checked (the default)?
Sample aside, I am putting together a fairly-heavy-hit MTDLL that instances MSXML4 DLL a lot, and I was hoping that I could keep a pool of my stuff in memory to keep the instance-start-time low. I think I'd have to make a package for MSXML4 also to keep it in memory, right?
And does VFP8 change any of this?
Thanks.
Next
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