compilationwindows-xpwdk

Building LocalMon sample in Windows XP


I have a very basic question about the LocalMon print monitor found at http://msdn.microsoft.com/en-us/library/windows/hardware/ff556478%28v=vs.85%29.aspx.

I have downloaded and installed the Windows Driver Development Kit and was trying to build the LocalMon print monitor sample. The guide says "To build the sample, run build from the directory that contains the sample. After the sample is built, the sample will produce DDKLocalmon.dll."

I see a makefile in the directory. However, do I need to install another program that will actually compile the code?

This sample source code does not have a project file, so it does not seem as though I can open the project in Visual Studio.


Solution

  • I haven't done this in years, but Windows DDK usually comes with its own command-line C++ compiler (a slightly customized version of VC++). There should be some general build documentation somewhere in the DKK.