Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP DLL Question
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00538602
Message ID:
00545908
Views:
21
>>>
>>>I was thinking in terms of VFP pier-to-pier (apartment threaded?) COM. If two clients instanciate the same server, could the server be used to pass (push) a message from one of the clients to the other? I've had some experience with
>>>languages that offer an HWND port.
>>
>>No. It won't be apartment model threaded. You have to run the DLL under MTS or COM+ to get that.
>>
>>And, it doesn't work the way you want. The DLL runs in the process space of the EXE that is hosting it.
>>
>>>
>>>I guess I am trying to understand if a server can be "aware" of the clients
>>>holding it's object reference, and can the server direct mesaages (providing a push mechanism is in place) to a specific client.
>>
>>I don't think you can do that. What exactly are you trying to accomplish? Maybe there is another way to make it work.
>
>I would say - yes, you can do it. I finished the first working prototype of my new COM Communicator class at 3:00 AM last night. So far I experimented with multi-use out-of-process version. It is done through raising the events - this is the "push mechanism".
>I will experiment more with different versions and if everything works as I expect it, I will add this as a bonus sample for my DevCon session.

Great! Can't wait for you to share the fruits of sleep deprivation with the rest of us <g>
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform