Click to See Complete Forum and Search --> : passing parm to another C++ programs


Al Ellis
May 3rd, 1999, 03:44 PM
I have two programs and I want to pass several parms from one programs to the other. I tried to use _execve(prog,args,my_env);. I get a -1 return code. Please help!!!

ilgar
May 11th, 1999, 01:06 AM
Maybe WinExec helps

Thanks,
Ilgar Mashayev

Lothar Haensler
May 11th, 1999, 02:20 AM
the docs say:
"A return value of –1 indicates an error, in which case the errno global variable is set."
so what does your errno say?