Article View: borland.public.cppbuilder.nativeapi
Article #527Re: Detecting virtual comports
From: Oliver Rutsch
Date: Mon, 28 Jan 2008 07:34
Date: Mon, 28 Jan 2008 07:34
29 lines
2249 bytes
2249 bytes
Hi Anton, > > I installed a bluetooth dongle and became 9 serial blue tooth ports, some > are only for reading, others just for writing. > I'm not quite sure how everyhing works, the menuitmes are in Chinese and > that's a little diificult for me. > > But in contrast with a 'normal' usb to serial plug, those ports dont's > disappear after the dongle is unplugged > They are visible in the hardware-view and in the windows register. > > So the software thinks the ports are present, tries to open them and maybe > that's the reason it takes such a long time. > I also have a COM-port detecting function and I discovered this kind of problem on some Laptops with virtual Bluetooth ports. I know that nobody wants to disable these virtual ports just to start our software. So the only way to solve this was to start a own thread for every port and to kill the thread (the hard way) if it took too long to respond. Not very nice but it works reliable. Bye, -- Dipl. Ing. Oliver Rutsch EMail: orutsch@sympatec.com Sympatec GmbH
Technical Details
Message-ID:
<479d85db$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4799cc68$1@newsgroups.borland.com> <njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.com> <4799e374$1@newsgroups.borland.com> <vegkp3hhb89k52eol1c49492gc46k3iedv@4ax.com> <479b0c39@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1645444b8ff69f0e X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 28 Jan 2008 08:34:34 +0100 From: Oliver Rutsch <orutsch@sympatec.com> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Detecting virtual comports References: <4799cc68$1@newsgroups.borland.com> <njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.com> <4799e374$1@newsgroups.borland.com> <vegkp3hhb89k52eol1c49492gc46k3iedv@4ax.com> <479b0c39@newsgroups.borland.com> In-Reply-To: <479b0c39@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 217.5.250.34 Message-ID: <479d85db$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1201505755 217.5.250.34 (27 Jan 2008 23:35:55 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail