Re: How to support a lot of serial port in WCE42?



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



.