5

Where can I find msvcrtd.dll (the debug CRT), corresponding to \WinDDK\7600.16385.1\lib\Crt\i386\msvcrtd.lib in the Windows Driver Kit?

user541686
  • 205,094
  • 128
  • 528
  • 886

2 Answers2

2

Having the same DDK on my system, I cannot find the file , however, you can do it with some tools or programatically:

if you are using a program thats loading that dll, you can use windbg to display the module info (which should include the path), else you can use one of the psapi functions.


After some poking around, it would seem from this article that there is no longer a public msvcrtd.dll to use with the WDK, it does however give some advice on using alternatives. MSDN also supports the fact that there is no longer a debug CRT, as there only methods for debugging involve the debug API and/or WinDBG. However I suspect that the dll might be available from a checked build of windows.

Necrolis
  • 25,836
  • 3
  • 63
  • 101
  • @Merhdad: just link to the lib then (with the ddk linker) and let windows sort it out, as you shouldn't be moving around versioned debug files – Necrolis Aug 12 '11 at 04:13
  • @Merhdad: and you know the dll doesn't exists why? it might has some special name to set it apart for drivers, just try linking to it, see if windows moans about a missing dll when the driver loads. – Necrolis Aug 12 '11 at 07:20
  • I know it doesn't exist because I've *already* tried linking to it in the past and received an error that the DLL wasn't found, hence why I'm asking my question in the first place. :\ – user541686 Aug 12 '11 at 07:35
  • Mehrdad: see now that info would have helped in the original question. – Necrolis Aug 12 '11 at 08:22
1

Seems like it's not distributed.

user541686
  • 205,094
  • 128
  • 528
  • 886