Here is an interesting one. I have a program that has no visible user interface, as it runs as a service. It does talk Using SPVOICE.
I would like to have it speak with a certain voice, but it always selects the default voice. Since there is no user, it cant select the default voice for the user, as there is no user. So, where does it get the voice it selects? It seems to pick Sam. I have a user interface for changing settings (when there is a user logged on) where i would like to set the voice, but it uses an spobjecttoken as the object to select the voice, and i dont know how to save that to the registry.