Re: How to support a lot of serial port in WCE42?
- From: "John Baik" <JohnBaik@xxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 12:39:04 -0700
I'll check with Index Number in registry and check failed condition in Init
function.
For Example,
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial10]
"Prefix"="COM"
"Index"=dword:A
...
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial11]
"Prefix"="COM"
"Index"=dword:B
...
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial12]
"Prefix"="COM"
"Index"=dword:C
...
Then you can open drivers from application as
CreateFile(L"$device\\COM10"...)
CreateFile(L"$device\\COM11"...)
CreateFile(L"$device\\COM12"...)
I'm not sure whether CE 4.2 support these or not, but CE 5.0 does support.
Thanks
John Baik
"Daric" <Daric@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2A75E4FF-B9AA-4457-9EBB-FF35637065D2@xxxxxxxxxxxxxxxx
Hi, all
I own a device with 12 serial ports, I've write a driver and success to
load
9 instances to support from COM1: to COM9; But when I try to load
instances
to support COM10/11/12, it failed. I can't find activated information in
HKLM\\Drivers\\Active.
What's the way to support serial ports up to 10 and more? Any suggestion
is
very appreciated!
Daric
.
- Prev by Date: Re: Windows CE 5.0 remote desktop size
- Next by Date: Delayed system tray noitification of Network Link disconnect
- Previous by thread: Re: How to support a lot of serial port in WCE42?
- Next by thread: Re: How to support a lot of serial port in WCE42?
- Index(es):