Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release DCOM
Message
From
22/03/2001 09:41:49
 
 
To
22/03/2001 09:24:58
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00487147
Message ID:
00487566
Views:
7
Hi!

What you meant as 'Pre-Load'? Where you have read that DCOM object requires to be pre-loaded in the memory before being called? It is managed by Windows, when COM object is not used - it is released. If it is used by CREATEOBJECT or CREATEOBJECTEX again, it is loaded. If it was loaded before, its file is cached, so second, third and so on calls to object last more quickly. I wondered why ever someone might want to pre-load DCOM object into memory. I know that there is such thing as COM+ pooling that allows to pre-load instances of COM objects into memory, but it does not works for VFP6 and VB6 COM objects. DCOM have no such functionality at all.


>Hi,
> I am using my COM as DCOM server. I will create my COM from my client side, call a method and then release the reference to the DCOM server. I found that, once I issue RELEASE mycom or mycom = .NULL., my pre-loaded DCOM server in remote server will be released as well. Since DCOM server need to be pre-loaded before being called by client application, thereofre I wish to leave my "last " distance in memory of remote server. (Using Win98)
>
>Any ideas?
>
>Thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform