Hi!

I am using SAPI 5.1 for some speech enabled program. Most of the time it works well, but sometimes sapisrv.exe crashes down. I debugged it then with VC++ and it appears that the error is always exactly the same. It is in the section:

?RulesShouldCount@CRecoInstGrammar@@QAEHXZ:

the exact command is:

cmp dword ptr [eax+194h],0

it tells something about access violation. I have no clue, what happened. It is not linked to a specific place in my program, but it always happens when changing the active form or loading one.
maybe someone of you has experienced something similar and knows a solution.