nless wpp is doing something I am not aware of, you are mixing and matching
two different things.
1 you need to use an MC file to create the desriptions
2 you need to compile the mc file as a resource in your driver
3 you need to add the right registry keys/values so that the event viewer
knows where to find your actual sys file so it can extract the compiled MC
resource in it and then find the right message string
the simplest wdk sample is probably mouser, src\input\mouser
a) sermlog.mc is included in the sources file, so is mouser.rc
b) mouser.rc includes sermlog.rc (which is autogenerated in $(O) when you
build and contains the compiled MC resource)
c) %windir%\inf\msmouse.inf contains the directives to add the values to the
AddService = sermouse, 0x00000002, sermouse_Service_Inst,
sermouse_EventLog_Inst ; Port Driver
AddReg = sermouse_EventLog_AddReg
<-- you would put your driver name here
This posting is provided "AS IS" with no warranties, and confers no rights.
"GeodeLX" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...