Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement