Showing posts with label MOF. Show all posts
Showing posts with label MOF. Show all posts

Wednesday, April 25, 2012

How to have a VS project that contain Mofcomp command


1. New a project that based on "Template" -> "Visual C++" -> " Windows Driver" -> "Applications", and select "Empty DLL for Drivers"



2. Select Project->Property Pages, you may see Mof Compiler existing there.


3. After insert .mof file, VS will auto select Mofcomp as the build option.


4. Make sure turn off entry point of DLL, otherwise VS will complain that DLL entry function not found.