|
-
Aug 16th, 2001, 02:04 PM
#1
Thread Starter
New Member
Events Not Working
Hi I'm new to the DCOM programming, but I had a question that hopefully you could answer. I've created an client/server application where multiple clients can be opened at the same time to change data values. However, when one client changes a value, all other clients should be informed instantaneously of the change through a Raised Event. I've implement the classes using the Singleton Object pattern. The problem is that I can raise events only on the client which created it, however, the other clients do not see the events. I'm wondering why this could be happening. I suspect a possible DCOMCNFG problem, but I have tried everything and it still does not work. My other suspicion is that in fact each client when started creates a separate instance of the server object (though it has global state variables) which in turn do not allow the clients to all see the same information.
To make this short, I was wondering, if even I could have a small test sample, how to make a client/server VB app in which all the clients would be notified with events if one client made a change.
Thank You.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|