Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Pooling and Construction and JITA
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Object Pooling and Construction and JITA
Divers
Thread ID:
00719838
Message ID:
00719838
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform