Re: [GD-Windows] Opening COM ports over 9?
Brought to you by:
vexxed72
From: Root, K. <kr...@fu...> - 2006-06-01 09:02:21
|
> People still use COM ports? Gosh, what a concept. Many high-end equipment is still controllable over COM only :(=20 -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Andras Balogh Sent: Thursday, June 01, 2006 1:07 AM To: Game Development for MS Windows Subject: Re: [GD-Windows] Opening COM ports over 9? > People still use COM ports? Gosh, what a concept. It's actually a virtual COM port hiding a high-tech GPS unit connected via =20 USB port... > Strange as it may seem, this is the info I saw on this topic: > > "To open a COM port greater than or equal to COM10, you have to prefix > the string "\\.\" to the COM port name. > In C it would look like this: > CreateFile( "\\\\.\\COM10",...) > because you have to escape the "\" character. " Funny I've just found the same info right after I hit send: http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/devio/= b ase/communications_resource_handles.asp > Never tried it, good luck. It works. thanks, Andras _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |