From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,f07a9e32e20151e8 X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,f07a9e32e20151e8 X-Google-Attributes: gidfc7fa,public From: lou@xilinx.com (Lou Sanchez-Chopitea) Subject: Re: Command line parameters problem... Date: 1995/10/31 Message-ID: <473u9f$6ll@mailman.xilinx>#1/1 X-Deja-AN: 118383650 references: organization: Xilinx Inc. newsgroups: comp.os.vms,comp.sys.vms In article , Carl J. Lambrecht wrote: > >I am having trouble getting command line parameters passed when running >an executable. The executable is a compiled C source code, which has the >necessary argc,argv code to handle a command line argument, but whenever >I try to run with my command line arguments: > run foo.exe 3500 >I get an error on the 3500 stating that too many parameters have been >used, reenter command with less parameters. Is there a compiler or >linker flag which must be set to allow extra parameters? I am working on >a VAX 4100, running OpenVMS 6.1, and compiled using the standard DEC C >libraries, which appear to have all the C lib functions I need. What am >I missing? You have to make the invocation a foreign command. Then everything will work. It is run that is objecting to extra parameters. Good luck. > >Thanks in advance... >-Carl J Lambrecht > Kinesis Computing, Inc. Cheers Lou -- Lou Sanchez-Chopitea EMail: lou.sanchez-chopitea@xilinx.com Senior Software Engineer SnailMail: 2100 Logic Drive SpeakMail: (408) 879-5059 San Jose, CA 95124 FaxMail: (408) 377-4790 #include