🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5041

Re: serial COM ports from various COM objects

#5041
From: Vladimir Afanasyev
Date: Wed, 02 Nov 2005 07:10
16 lines
1456 bytes
Hi Gambit.

"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:

>
>You cannot.  Serial and Parallel ports can only have one handle opened to
>them at a time, and that handle has exclusive access.  Two objects cannot
>open the same port at the same time.  The second object will always fail
>until the first object closes the port.
>

Thank you for answer.
May be you know is it possible to use 
DuplicateHandle in this case?
Vladimir.
Technical Details
Message-ID: <43687486$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43677c8e$1@newsgroups.borland.com> <4367a444$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a36c2447d040b89c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: serial COM ports from various COM objects
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 83.218.237.46     
X-Forwarded-For: unknown
References: <43677c8e$1@newsgroups.borland.com> <4367a444$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43687486$1@newsgroups.borland.com>
Date: 2 Nov 2005 00:10:46 -0700
X-Trace: newsgroups.borland.com 1130919046 207.105.83.66 (2 Nov 2005 00:10:46 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail