Hi All,

I am writing a program in C++ which needs an input file generated from
another executable.
the syntax of exe from command line is like-
C:\ <Execuable path> < Input Argument 1> < some options > <output arguments>

example :
C:\Program Files\Wireshark\tshark.exe -r C:\input\tcpdump.cap -R
"tcp.dstport==7275 && ulp.msSUPLPOS" -V > C:\output\dump.txt

I have to get the C:\output\dump.txt file from above command and use it as
input for my C++ program.
I am calling the above command using Createprocess function from my
program's main() giving the "C:\Program Files\Wireshark\tshark.exe" as
application name and rest of the field as command line arguments, but Its
not working.
Can somebody guide me on this ....I have already tried other options like
system() and WinExec() but I'm getting errors as these function are not able
to parse the input arguments.



-- 
Regards
Sri


[Non-text portions of this message have been removed]

Reply via email to