Re: Build device driver using Microsoft Visual C++ 2005

Tech-Archive recommends: Fix windows errors by optimizing your registry



You say you are building your driver with VS 2005, but precisely how are you
doing that? Are you using VS to edit and maintain you sources and projects,
and then either using DDKBUILD or a DDK command line environment to actually
build your driver? Or are you really invoking an IDE build and using the VS
compilers? If the latter ... DON'T ... it's the wrong compiler to be using
for device drivers.

Now, having said that, to generate PDB files, all you need to do is invoke a
checked build environment and run BLD or BUILD -cze, or your switches of
choice, or use DDKBUILD from a VS makefile project.

--
The personal opinion of
Gary G. Little

"mirage2k2" <mirage2k2@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E74AE9F6-9D92-4313-B268-AD3484C8112F@xxxxxxxxxxxxxxxx
I've just started building my driver using Microsoft Visual C++ 2005. I
notice the .pdb generated by the newer compiler/linker is different to the
one v6 generated. For a start I had to upgrade WinDbg to the latest
version
in order for it to correctly get all symbols from the .pdb. Now I have
problems with softice ... it too has trouble with the newer .pdb.

Does anyone know what has changed with respect to .pdb? Does anyone know
how to get the new compiler/linker to output a .pdb like v6 did?



.



Relevant Pages

  • RE: Building a device driver using VC6 and VC2005
    ... The first book we purchased when we began driver development ... DDK compiler is just a compiler and the DDK linker is just a linker ... ... Building a driver with the DDK compiler/linker ...
    (microsoft.public.development.device.drivers)
  • Re: Build device driver using Microsoft Visual C++ 2005
    ... If its true that SoftIce has been flushed then driver development just got ... since SoftIce has been flushed. ... anything other than the DDK compiler to build a driver. ... on your driver and then come back and talk about PDB files. ...
    (microsoft.public.development.device.drivers)
  • Re: Bugcode Parameters
    ... > Well, your knowledge of WinDbg is certainly better than mine, but I ... > I trace the addresses through the stack dump in SP2 HidClass, ... beyond SomeSystemDriver, in some other driver whose name is not available. ... and keep .pdb files for each driver you release. ...
    (microsoft.public.development.device.drivers)
  • Re: KMDF windbg !wdflogdump gives "could not retrieve WDF IFR header" ... again
    ... Could not retrieve WDF IFR log header for driver DSPACE_USB2. ... MEMORY - Image read successfully from loaded memory. ... PDB - Symbols loaded successfully from symbol search path. ...
    (microsoft.public.development.device.drivers)
  • Re: Supress pdb reference in device driver
    ... The /pdbpath:none linker flag will remove the full path (but keep the pdb ... I would not recommend removing the PDB rerference altogether or ... you may find yourself unable to load symbols for the driver altogether. ...
    (microsoft.public.development.device.drivers)