Hi,
I have many device drivers named DIPSWITCH,LED,MICOM,ADC etc...
In platform.reg if i register for this driver under

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
"Prefix"="ADC"
"Dll"="adc.dll"
"Order"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
"Prefix"="micom"
"Dll"="micom.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
"Prefix"="dipswitch"
"Dll"="dipswitch.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
"Prefix"="IOD"
"Dll"="iod.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
"Prefix"="led"
"Dll"="led.dll"
"Order"=dword:1

Only one driver dipswich.dll is getting loaded. i checked the registry
of target device.
How can i set in platform.reg for these drivers.


Please Suggest me.


Regards,
Kirthika

Re: Registry setting for many Device drivers by Tim

Tim
Thu Feb 07 01:36:35 CST 2008

kracks <kirthikaiitm@gmail.com> wrote:
>
> I have many device drivers named DIPSWITCH,LED,MICOM,ADC etc...

This newsgroup is for developers of drivers for the desktop systems, like
Windows XP and Vista. Your question is about Windows CE; try
microsoft.public.windowsce.platbuilder.

> In platform.reg if i register for this driver under
>
>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
> "Prefix"="ADC"
> "Dll"="adc.dll"
> "Order"=dword:1
>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
> "Prefix"="micom"
> "Dll"="micom.dll"
> "Order"=dword:1
>
>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
> "Prefix"="dipswitch"
> "Dll"="dipswitch.dll"
> "Order"=dword:1
>
>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
> "Prefix"="IOD"
> "Dll"="iod.dll"
> "Order"=dword:1
>
>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
> "Prefix"="led"
> "Dll"="led.dll"
> "Order"=dword:1
>
>Only one driver dipswich.dll is getting loaded.

Of course, because there is only one key called "IOD". Each entry
overwrites the previous one. I suspect you probably want something like
this:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ADC]
"Prefix"="ADC"
"Dll"="adc.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\micom]
"Prefix"="micom"
"Dll"="micom.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\dipswitch]
"Prefix"="dipswitch"
"Dll"="dipswitch.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IOD]
"Prefix"="IOD"
"Dll"="iod.dll"
"Order"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\led]
"Prefix"="led"
"Dll"="led.dll"
"Order"=dword:1
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.