Re: [GD-Windows] Opening COM ports over 9?
Brought to you by:
vexxed72
From: Andras B. <and...@gm...> - 2006-05-31 22:06:57
|
> People still use COM ports? Gosh, what a concept. It's actually a virtual COM port hiding a high-tech GPS unit connected via 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=/library/en-us/devio/base/communications_resource_handles.asp > Never tried it, good luck. It works. thanks, Andras |