Hi,

I'm using C++ and I want to start a thread calling a function (extractVoice) that has char* as two parameters. Below is my code:

Thread^ extractVoiceThread = gcnew Thread(gcnew ParameterizedThreadStart(this, &MainWindow::extractVoice));
extractVoiceThread->Start(filepathV, file);

void ConEmRecog::MainWindow::extractVoice(char* filepath, char* filename){
}

However, the parameter can only one and of type System ^ Object. In my case I need to pass two character arrays. Any ideas how this can be done?

Thank you very much!