Hi Don,
Download DesktopSerialIO from my homepage and see if it works (it uses
CreateFile, etc.). BTW, it is free.
The problem with MSComm may be a function of the device driver that was
written for the virtual serial port in use. MSComm uses a "fast-open"
method that can fail under certain circumstances -- though I wouln't have
thought that this was one of them.
I've never seen the sort of thing that you are seeing, so I cannot be sure
exactly what may be happening.
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004.
See
www.hardandsoftware.net for details and contact information.