CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    1

    passing parm to another C++ programs

    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!!!


  2. #2
    Join Date
    May 1999
    Posts
    24

    Re: passing parm to another C++ programs

    Maybe WinExec helps

    Thanks,
    Ilgar Mashayev

  3. #3
    Join Date
    May 1999
    Posts
    3,332

    Re: passing parm to another C++ programs

    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?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured