Added "PAGED_CODE()", it cannot pass WPP example

Hi Jan,

I’m using gvim, that could be the cause.
However, i took the working case, insert a blank line using notepad, still no good.

Still i need to try more, thanks for the great hint !

Hi Doron,

A general comment on win 7 DDK, the steps are complicated.

  1. to in stall a test drive, i need to write a batch file.
    To sign the driver, the certmgr in SDK is not the same as the one in DDK.
    And i have to use the one in SDK.
  2. to use WPP, seems i have to manually create the CTL file. It took me 2 days to learn WPP but still not working.
  3. devcon install xyz.inf ROOT\xyz,
    why cannot just use “devcon install xyz.inf” ? i mean ROOT\xyz should be in the xyz.inf
    hope there’s a real reasonf for that.

I understand this is a complicated product, and our product is based on windows, so pls treat these as useful feedbacks not blames, :slight_smile:

Thanks for the replies !

  1. why do you have to use the one in the sdk?
  2. yes, this is a bad experience
  3. an INF can contain multiple HW IDs. In this case, devcon is complicated enough as it is, having it scan the INF file, parse it (which it does not do currently AFAIK) to find the ID, just so you don’t have to put it on the cmd line, is a bit much

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Wednesday, August 11, 2010 2:57 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Added “PAGED_CODE()”, it cannot pass WPP example

Hi Doron,

A general comment on win 7 DDK, the steps are complicated.

  1. to in stall a test drive, i need to write a batch file.
    To sign the driver, the certmgr in SDK is not the same as the one in DDK.
    And i have to use the one in SDK.
  2. to use WPP, seems i have to manually create the CTL file. It took me 2 days to learn WPP but still not working.
  3. devcon install xyz.inf ROOT\xyz,
    why cannot just use “devcon install xyz.inf” ? i mean ROOT\xyz should be in the xyz.inf
    hope there’s a real reasonf for that.

I understand this is a complicated product, and our product is based on windows, so pls treat these as useful feedbacks not blames, :slight_smile:

Thanks for the replies !


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

xxxxx@hotmail.com wrote:

I’m using gvim, that could be the cause.

No. I use gvim for virtually all of my source code editing. It’s smart
enough to do line endings properly.

However, i took the working case, insert a blank line using notepad, still no good.

Send me the code and I’ll take a look.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Hi Doron

  1. why do you have to use the one in the sdk?
    certmgr in SDK displays more items than the one in DDK.
    so if my install fails, i’ll go to certmgr to delete my certificate. My script is not smart enough, it always try to create new test certificate.

i’m sure there’re better ways, but it really took me a while to get my driver install script to work, if you are new to these.

  1. yes, this is a bad experience
    i suggest MS provide some sample batch files for WPP, all these TMF and CTL files can be there.
    Basically user just type build.bat, install.bat, run.bat. Just my 2 cents, :slight_smile:
    Too many tools: tracefmt, tracelog, tracepdb, traceview, … i kind of lost where to go.
  1. an INF can contain multiple HW IDs. In this case, devcon is complicated
    enough as it is, having it scan the INF file, parse it (which it does not do
    currently AFAIK) to find the ID, just so you don’t have to put it on the cmd
    line, is a bit much
    make sense now

In general i like kmdf, it’s simpler.
Thanks again !

Hi Tim,

thanks for the offer, but i need to get my work done 1st, a simple kmdf driver took me 1+ week so far, i kind of feel shamed, :slight_smile:

But i’m really glad to see another vim person, :slight_smile:

Hi Tim & Doron,

i cleaned up files in that dir, it’s building now.
It used to have ~ files from vim, some other backup files, etc.

Hmm. Any more information about why that fixed it?

Thanks,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Friday, August 13, 2010 9:58 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Added “PAGED_CODE()”, it cannot pass WPP example

Hi Tim & Doron,

i cleaned up files in that dir, it’s building now.
It used to have ~ files from vim, some other backup files, etc.


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