The speech samples \winui\Speech\DictationPad and \winui\Speech\Reco may fail to properly compile the grammar files.
\winui\Speech\DictationPad
\winui\Speech\Reco
To work around this issue, change the Custom Build Step for the *.xml files to use “gc.exe” instead of “..\..\gc.exe”. This is part of the DictationPad.sln and Reco.sln Visual Studio Solution files. In addition, there is a typo in the Reco.cpp file. Change all references to GetListHead() to GetHead() in Reco.cpp.
Windows SDK Team