Hello I have the following code but it isn\'t working as expected, can\'t figure out what the problem is.
Basically, I\'m executing a process (a .NET process) and pa
Try this:
LPTSTR cmdArgs = "name@example.com"; CString szcmdline("D:\\email\\smtp.exe"); szcmdline += _T(" ") + cmdArgs ; //Leave first param empty and pass path + argms in if(CreateProcess(NULL, szcmdline, second