Search code examples
visual-studio-2010windows-7wdk

Link Microsoft Visual Studio DLL to a WDK LIB


Is it possible to link a LIB file generated from the WDK to a DLL being built in Visual Studio? The versions would be VS2010 and WDK 7.1.

I'm experiencing linker errors and was wondering if this was even possible.


Solution

  • You can link a WDK LIB into a MSVS DLL. My problem was that I was not marking exported functions with the extern "C" qualifier.