OEMUNI Sample Problem

Hi,

I am having trouble trying to debug and trace through the source of OEMUNI
sample.

I’d like to know the following things:

  1. If I run “build” command from “C:\NTDDK\src\print\oemdll” to build this
    driver in “Checked Build Environment”, will it build the user-mode driver
    necessary for debugging? Please note that I haven’t made any change to any
    source or any other file in this sample. Is this the build which I am
    supposed to debug?

  2. Do I need to have a “Checked Build” or a “Partial Checked Build” of
    Windows to debug this driver? Here’s a quote from Ashwin’s earlier posts:
    <<
    Step 3: Install the latest checked build. Or, for maximum system speed,
    install only the components you need. Typically, you will replace the
    following retail binaries with their corresponding checked builds:

  • unidrv.dll
  • unidrvui.dll
  • unires.dll

For details, see “Partial Checked Build” in the index of the Driver
Development Kit (DDK,) which is available to everyone from the MSDN Library.

>
I tried installing a partial checked build, but its not booting up. Its
crashing! (Restarting before fully starting windows)

  1. Do I need to use two systems for debugging this driver?

  2. When I’m trying to set breakpoints, it says it could not find the symbols
    for setting breakpoint, and it could not be set. Why is this happening?

Please Help. Thanks in advance.


Sam