Solved

Com & Automation server (Help)

Posted on 2002-05-18
5
193 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
proper way to parse url in delphi 2 198
creating threads in delphi 1 103
Unique identifier on a terminal server (rdp) 4 52
how can i search if string exist in array ? 3 55
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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