I don't use win32, but it might be helpful if you would detail what sort of program the c# is,( for example: an executable that takes a file as input and delivers it processed to stdout? )
If that is the case, you can probably use a Perl IPC module, like IPC::Run , IPC::Open3, etc. Read "perldoc perlipc" for the general idea. You open your program thru pipes or sockets, send it input, and collect output. The key issue is how the c# program handles input/output.... can it take data on stdin or only filenames, etc...does it output to stdout or 2 a file, etc. The other problem is pipes on win32 can be tricky, and you may need a win32 module if using a piped method. IPC::Run uses sockets though, and is generally used on win32, so you might want to look in that direction.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.