}
else if(str.find(L"OnCommand") != std::wstring::npos) {
//this is how templatehost 1.8 reports that a command has been received
}
else if(str.find(L"OnCommand") != std::wstring::npos) {
//this is how templatehost 1.8 reports that a command has been received
//this is how templatehost 1.7 reports that a command has been received
if(str.find(L"Command recieved") != std::wstring::npos)
//this is how templatehost 1.7 reports that a command has been received
if(str.find(L"Command recieved") != std::wstring::npos)