home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!lims01.lerc.nasa.gov!smbrush
- From: smbrush@lims01.lerc.nasa.gov (Andy Brush @Sverdrup)
- Subject: DosExecPgm Args Question
- Message-ID: <13AUG199208152210@lims01.lerc.nasa.gov>
- News-Software: VAX/VMS VNEWS 1.41
- Sender: news@eagle.lerc.nasa.gov
- Nntp-Posting-Host: lims01.lerc.nasa.gov
- Organization: NASA Lewis Research Center
- Date: 13 Aug 1992 08:15 EST
- Lines: 17
-
- I'm trying to DosExecPgm a program that requires command-line switches.
- The docs say that these args are placed in a "pointer to zero-terminated
- string*s*", and passed to the function.
-
- Well, that arg to DosExecPGm is typedef'ed as "char *PSZ", so I'm a little
- lost on how it points to more than one string. I have tried a few of what
- I thought were possibilities, but no luck.
-
- Will someone post a code fragment which shows the correct way to load the
- argument string for DosExecPgm?
-
- Thanks in advance.
-
- Andrew S. Brush | SMBRUSH@LIMS01.lerc.nasa.gov
- Sverdrup Technology | 2001 Aerospace Parkway
- NASA LeRC Group | Brook Park, OH 44142
- "Opinions are Mine, Only" | (216) 826-6770
-