Hi,
It is possible to have your application search for a GPS receiver, and if
one is found, to then close the conventional port and create the virtual
port(s).
However, at some point, I think the user will get involved in configuration
and operation -- after all, if you want some foreign application to use the
virtual port, you (or your user) will have to furnish the port number that
has been created. If you have multiple applications contending for the GPS
receiver, you are going to have trouble. These things have to be staged in
an orderly maner.
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, Revised March
2006.
See
www.hardandsoftware.net for details and contact information.