Hi all.
I'm trying to write this code from an old WinAPI C++ book (code snippet Image at the bottom) into a new C++ project. What it does is create a clone process. But when i code it into VS 2022, I get the error:at line-17 (sprintf, 1st arg, below code). What's causing this please? And how to fix it?Code:"Argument of type "TCHAR *" is incompatible with parameter of type "char *" "
VS 2022
VC 6.0