This is really cool, thnx.

I'll have to get a headset or something so it can understand me better.
Anyway, I have some questions about this.
Any answers greatly appreciated.
1.__________
As with TodWulff, I don't understand how the "OnRecognition()" function is called. I tried looking through the COM lib, but it references itself so much, I had my head spinning by the 3rd func.

(bit manipulation is a bit over my head anyway)
It seems to work similar to "OnMessage()", does COM set that up? or is OnRecognition a built-in function by it's own right?
I have a simplified idea of how it works, please correct me if I'm wrong: (probably am, so that means "please correct me", i guess

)
Quote:
You pass the word you want to recognize to COM along with some other info, COM tells SDK which word to look for, and dynamically sets up an OnMessage based on that. Then when SDK recognizes a word, it sends a message to the script telling it that the word was recognized, COM receives that message, and sends it to OnRecognition, which uses COM agian to turn it back into the text you get from the var: "sText"
Is that even close? Even if, I still don't understand how OnRecognition is defined as the function to go to if it finds it, unless that's just part of COM.
2.__________
How would I clear words from being recognized anymore? Can I do it individually or does it have to be done all at once? If all at once, is it "COM_Release(pstate)"? (Because you use "pstate" in the COM_Invoke for recognizing a word, and that's in the OnExit subroutine)
3.__________
Is there a way to tell it to receive
All words SDK recognizes? I know it would be unreliable, so I would only use it momentarily, but I would like to know. (does it have to do with the "+" . 0 paramater passed to the COM_Invoke?)
Thanks agian for any help.

Voice recognition is really cool, and I would love to understand it more so I can meet it's potential better.
