C++ LPWSTR
How will I be able to read the contents of a LPWSTR?
This is for Speech Recognition. What the user says gets stored in pwszText, is there a way I can read it?
Lets say it says "Run Firefox"
Can I make C++ read that and then execute a command depending on what pwszText contains?
Code:
hr = pPhrase->GetText(SP_GETWHOLEPHRASE, SP_GETWHOLEPHRASE, FALSE, &pwszText, 0);
std::wcout << pwszText << " (" << pParts->Rule.ulId << ") " << std::endl;
Lets say it says "Run Firefox"
Can I make C++ read that and then execute a command depending on what pwszText contains?
