Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Pooling and Construction and JITA
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Object Pooling and Construction and JITA
Miscellaneous
Thread ID:
00719838
Message ID:
00719838
Views:
52
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
Map
View

Click here to load this message in the networking platform