Debugging the Engine in Applications that Use Voice Commands/Dictation

To debug the engine in applications using voice text:

Open Visual C (or whatever debugging environment you're using) with the engine DLL.

Set the application to run as "$(WINDOWS)\Speech\VCMD.EXE -Embedding". $(WINDOWS) should be replaced with your windows directory.

Set a break-point in the engine's class factory so that you know that the debugging is working.

Start the debugging session. This will run VCMD.EXE. The debugger will be running although the engine won't be loaded yet.

Run the application that uses Voice Commands or Voice Dictation.

Your engine's breakpoint should bit hit.