Solved

Com & Automation server (Help)

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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