I have created two threads. 1 for speech and 1 for speech.
DWORD WINAPI ThreadSpeech(LPVOID temp){
speechRecog obj;
obj.start();
return 0;}
DWORD WINAPI ThreadGesture(LPVOID temp){
m_pMR2GestureRec->mainGestureRec();
return 0;
}
I am using both codes from other developers. I want to use both of them at a time. whenever I run threads then only Gesture works and speech kinect can't initialize and generates error of kinect initialization for speech only.
I need help.