Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #14088

Re: Win32Forth and COM Ports

From stephenXXX@mpeforth.com (Stephen Pelc)
Newsgroups comp.lang.forth
Subject Re: Win32Forth and COM Ports
Message-ID <50048a0c.23161452@192.168.0.50> (permalink)
References <1fbb1d32-00dc-4aa4-90bc-47ed8ea66b5a@googlegroups.com>
Date 2012-07-16 21:42 +0000

Show all headers | View raw


On Mon, 16 Jul 2012 12:03:29 -0700 (PDT), rickman <gnuarm@gmail.com>
wrote:

>I'm trying to use a com0com virtual serial port driver to let me connect Wi=
>n32Forth to another serial port program and it doesn't seem to work.  COM16=
> and COM18 are defined by the virtual port driver and I can open them using=
> RealTerm.  When I try to open one of them in Win32Forth it says it failed.=
> =20
>
>Any idea if the problem is one of serial port number being too high or is t=
>here just some incompatibility?  I have another driver I can try if I have =
>to. =20

For ports greater than 9 you have to use
  \\.\COMx
instead of
  COMx

Strange but true, and regularly documented. You could, of course,
use a Forth that handles all this and much more for you.

Stephen

-- 
Stephen Pelc, stephenXXX@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Win32Forth and COM Ports rickman <gnuarm@gmail.com> - 2012-07-16 12:03 -0700
  Re: Win32Forth and COM Ports rickman <gnuarm@gmail.com> - 2012-07-16 14:17 -0700
  Re: Win32Forth and COM Ports stephenXXX@mpeforth.com (Stephen Pelc) - 2012-07-16 21:42 +0000
    Re: Win32Forth and COM Ports rickman <gnuarm@gmail.com> - 2012-07-16 15:52 -0700

csiph-web