Re: clearcommerror native exception?
- From: "Dick Grier" <dick_grierNOSPAM@xxxxxxx>
- Date: Wed, 24 Aug 2005 09:10:55 -0600
I am not sure about the Opennetcf.org serial object, you may have to close
and reopen the port to change speeds or other settings. I do this
automatically, on change, in my CFSerialIO dll (which you can download from
my homepage). Since the source code for the SDF is included, why not just
look there to see what happens?
As to your ClearCommError question... the errCode parameter is non-zero
when an error is captured by the Windows serial driver. These are
communications errors, so you would only see a non-zero value for something
like Framing, Overrun, Parity, etc.
***
--
Richard Grier (Microsoft Visual Basic MVP)
See www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
.
- Follow-Ups:
- Re: clearcommerror native exception?
- From: ed via DotNetMonster.com
- Re: clearcommerror native exception?
- From: Chris Tacke, eMVP
- Re: clearcommerror native exception?
- References:
- clearcommerror native exception?
- From: ed via DotNetMonster.com
- RE: clearcommerror native exception?
- From: Alex Yakhnin [MVP]
- RE: clearcommerror native exception?
- From: ed via DotNetMonster.com
- clearcommerror native exception?
- Prev by Date: MouseMove
- Next by Date: Re: clearcommerror native exception?
- Previous by thread: RE: clearcommerror native exception?
- Next by thread: Re: clearcommerror native exception?
- Index(es):
Loading