R: Serial Driver Sample

Chandu,

Your problem is due to that W2K use W.F.P.
Windows File Protection is a mechanism for prevents overwriting or
replacement of certain system files.
You can find documentation about WFP and how to use it, at this address:
www.microsoft.com/hwdev/sfp/wfp.htm.

A second way for solve your problem is to call your driver not more
“serial.sys”, but with another name: .sys, to make a appropriate
INF file for this newname driver and install it.

Third way is to use the tool “SFPControl.exe”, that you can find on
OSR’ site.

Good luck. Giandomenico Vassia

-----Messaggio originale-----
Da: Chandu [mailto:xxxxx@yahoo.com]
Inviato: marted? 9 ottobre 2001 5.57
A: NT Developers Interest List
Oggetto: [ntdev] Serial Driver Sample

Dear list members,

I am trying to test the serial driver sample shipped
with the Windows 2000 DDK. When I am replacing the
windows default serial.sys with the one which i build
with the ddk, it is telling that it has replaced the
file but the file in the system directory is the same
old one. I have tryed to disble all com ports and then
tried to register my driver as the default serial
service. But if I restart the system the registry key
is replaced by the same default one.

What is the problem? How to write my own .inf file to
install the serial driver as the default serial
driver?

Bye…
Chandu

=====
Vallabhaneni Chandra SekharMIC Electronics
Limitedhttp://www.micelectronics.com

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just
$8.95/month.
http://geocities.yahoo.com/ps/info1


You are currently subscribed to ntdev as: xxxxx@tecnostsistemi.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, it’s a new feature of Win2k to verify all the supplied drivers are correct.
You need a .inf file, then you will be able to use the device manager to “Update” the device driver. You should probably name your version of the driver something other than serial.sys to keep things straight. Take a look at the ddk toaster example and the inf file for serial.sys.

Larry

-----Original Message-----
From: Chandu [mailto:xxxxx@yahoo.com]
Sent: Monday, October 08, 2001 11:57 PM
To: NT Developers Interest List
Subject: [ntdev] Serial Driver Sample

Dear list members,

I am trying to test the serial driver sample shipped
with the Windows 2000 DDK. When I am replacing the
windows default serial.sys with the one which i build
with the ddk, it is telling that it has replaced the
file but the file in the system directory is the same
old one. I have tryed to disble all com ports and then
tried to register my driver as the default serial
service. But if I restart the system the registry key
is replaced by the same default one.

What is the problem? How to write my own .inf file to
install the serial driver as the default serial
driver?

Bye…
Chandu

=====
Vallabhaneni Chandra SekharMIC Electronics Limitedhttp://www.micelectronics.com


Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


You are currently subscribed to ntdev as: xxxxx@diebold.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com