Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: IdTCPServer

www.cryer.info
Managed Newsgroup Archive

Re: IdTCPServer

Subject:Re: IdTCPServer
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Sun, 11 Jun 2006 00:05:30

"Jamie Dale" <j.dale@turboz.net> wrote in message
news:448b69cf@newsgroups.borland.com...

> Also, what can i do if I need to use the CriticalSection from
> another unit?
>
> IE, CriticalSection is in Unit1, but Unit2 needs to use it -
> If it's declared as private, how can I get around this?

The same way you would pass any other value around.  You can pass the
critical section's pointer around as needed, such as in a function parameter
or a public property.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive