<div dir="ltr">As I said in my message, you can using IntPtr.Overloads[Int64](handle).<div><br></div><div>Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 11:12 AM, Dan Lenski <span dir="ltr"><<a href="mailto:dlenski@gmail.com" target="_blank">dlenski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ron Harding via PythonDotNet <pythondotnet@...> writes:<br>
<br>
> perhaps re-directed command line calls for stdin, stdout, stderr in c#<br>
interacting with python i/o command line calls(although in python it is<br>
common practice to daisy chain commands).<br>
<br>
Unfortunately, I cannot redirect the output of the C# library to a<br>
convenient filehandle like stdout/stderr; I need to be specify a<br>
FileStream object.<br>
<br>
It pretty much comes down to this: how do I cast a win32 file handle to an<br>
IntPtr?<br>
<br>
Thanks,<br>
Dan<br>
<br>
_________________________________________________<br>
Python.NET mailing list - <a href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/pythondotnet" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/pythondotnet</a><br>
</blockquote></div><br></div>