Need Help on .Xml File, how to add multiple .sys file paths

Hi Sir/Madam,

I’m facing a problem, we are implementing Event tracing for Windows for our Driver , we have multiple xyz32.sys , xyz64.sys binaries for 32 and 64 win7 OS.

we want to add these two sys binaries in the “ResourceFileName” & " messageFileName" in the Event section of Instrumentation manifest file. only one of these binaries are taking (compiling) , if we add multiple binaries throwing errors.

As Below

case 1: The above code is compiling for one binary.

guid=“{ddaa316c-8fc2-4302-ac60-872a5d09a46b}”
symbol=“DriverControlGuid”
resourceFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
messageFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
>

case 2: unable to compile

guid=“{ddaa316c-8fc2-4302-ac60-872a5d09a46b}”
symbol=“DriverControlGuid”
resourceFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
messageFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
resourceFileName=“%SystemRoot%\System32\drivers\xyz64.sys”
messageFileName=“%SystemRoot%\System32\drivers\xyz64.sys”
>

Note: How to add multiple binaries in the .xml file.

Please help me on this

Hi,
Resources describing the provider can’t be split across multiple binaries thus the error. MC generates a resource file which needs to be linked into one of your binaries. This is the binary which should be listed in the manifest file.
Thanks,
Alex


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] on behalf of xxxxx@gmail.com [xxxxx@gmail.com]
Sent: Wednesday, October 13, 2010 11:31 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Need Help on .Xml File, how to add multiple .sys file paths

Hi Sir/Madam,

I’m facing a problem, we are implementing Event tracing for Windows for our Driver , we have multiple xyz32.sys , xyz64.sys binaries for 32 and 64 win7 OS.

we want to add these two sys binaries in the “ResourceFileName” & " messageFileName" in the Event section of Instrumentation manifest file. only one of these binaries are taking (compiling) , if we add multiple binaries throwing errors.

As Below

case 1: The above code is compiling for one binary.

guid=“{ddaa316c-8fc2-4302-ac60-872a5d09a46b}”
symbol=“DriverControlGuid”
resourceFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
messageFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
>

case 2: unable to compile

guid=“{ddaa316c-8fc2-4302-ac60-872a5d09a46b}”
symbol=“DriverControlGuid”
resourceFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
messageFileName=“%SystemRoot%\System32\drivers\xyz32.sys”
resourceFileName=“%SystemRoot%\System32\drivers\xyz64.sys”
messageFileName=“%SystemRoot%\System32\drivers\xyz64.sys”
>

Note: How to add multiple binaries in the .xml file.

Please help me on this


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer