Solved

Com & Automation server (Help)

Posted on 2002-05-18
5
196 Views
Last Modified: 2010-04-04
Hello Experts

I Am learning about com and automation servers.I have created a very simple board game, which multiple clients can play with thier own copy of the game and the server will get updated on each clinet's action.

How Can can I find out how many cleints are running at the time.

anyone has any codes on this please.

Thank you
0
Comment
Question by:Saab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Assisted Solution

by:neld
neld earned 75 total points
ID: 7018073
Hi Saab,

the best com developer i know is binh ly and luckily for you he has a superb web site with tons of examples and tutorials there is even a demo of what you are trying to do.  The demo is actual a chat server with multiple clients..

check it out...

www.techvanguards.com

its the only to place to look for delphi com development..

Good luck...
Derrick
0
 
LVL 4

Expert Comment

by:nestorua
ID: 7019814
HI, Saab,
Use COM Event Interfaces (TConnectionPoint, TConnectionPoints,
IConnectionPointContainer). They will help you to realize and
implement all what you are trying to do.
Furthermore you must teach those things if you are studying
COM and going to use it.
Sincerely,
Nestorua.
0
 

Author Comment

by:Saab
ID: 7022281
Hi Nestorua

Could you please be a pit more specific on how I can find out the count my cleints using (TConnectionPoint, TConnectionPoints,IConnectionPointContainer) .

Thank you
0
 
LVL 4

Accepted Solution

by:
nestorua earned 75 total points
ID: 7023728
HI,
I don't know how to explain it in two words.
Use EventSinkChanged event of your TAutoObject object
and/or SinkList property of FConnectionPoint.
Sincerely,
Nestorua.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005986
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split points between nestorua and neld

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question