does anyone know how i can add input from a textbox to the 2nd parameter of CreateProcess(the command line)...right now i have the executable name in the first parameter, then i have " +connect ", in the 2nd ive tried doin this but got an error:
and i get the error:
Form1.h(196): error C2664: 'CreateProcessA' : cannot convert parameter 2 from 'bool' to 'LPSTR'
anyone got any ideas on how i can do this?
Code:
" +connect " && textBox1->Text,
Form1.h(196): error C2664: 'CreateProcessA' : cannot convert parameter 2 from 'bool' to 'LPSTR'
anyone got any ideas on how i can do this?