error C3861: '_tcsdup': identifier not found
问题 This is my first time and I'd like to make a parallel process using the windows CreateProcess function. Based on the example at MSDN I created a LPTSTR "(non-const) TCHAR string" command line argument like this LPTSTR szCmdline[] = _tcsdup(TEXT("\C:\\MyProgram_linux_1.1\\MyProgram.exe") ); The LPTSTR and other char and string types are discussed here The command line argument is passed to CreateProcess like this if (!CreateProcess(NULL, szCmdline, /*...*/) ) cout << "ERROR: cannot start