🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Opening COM port twice

#12608
From: Denville Longhurst
Date: Sun, 30 Nov 2003 09:04
31 lines
1924 bytes
Thanks.  I had suspected this was th case, and I have an idea for such an
intermediate application.

Thanks again,

Denville.

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:3fc93c61$1@newsgroups.borland.com...
>
> "Denville Longhurst" <Denville@metco.co.uk> wrote in message
> news:3fc8c2ee@newsgroups.borland.com...
>
> > Is it possible for two applications to open a COM port simultaneously?
>
> No.  Such resources can only be used by one thing at a time.
>
> For what you ask, you will have to make it so that the application that
> opens the port stores the received data somewhere and makes it available
to
> the other application separately.  Either set asside shared memory, or
(what
> I did) create a dedicated server application whose sole purpose is to
access
> the port and then forward the data to any other application that wants the
> data via an IPC mechanism (TCP socket, names pipes, COM, etc).
>
>
> Gambit
>
>
Technical Details
Message-ID: <3fc9b278$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fc8c2ee@newsgroups.borland.com> <3fc93c61$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2de4bbff122c5d89
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-30 01:08:51 PST
From: "Denville Longhurst" <Denville@metco.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fc8c2ee@newsgroups.borland.com> <3fc93c61$1@newsgroups.borland.com>
Subject: Re: Opening COM port twice
Date: Sun, 30 Nov 2003 09:04:03 -0000
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
NNTP-Posting-Host: 80.0.6.170
Message-ID: <3fc9b278$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070183032 80.0.6.170 (30 Nov 2003 01:03:52 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail