As I said in my message, you can using IntPtr.Overloads[Int64](handle). Jeff
On Tue, Jul 21, 2015 at 11:12 AM, Dan Lenski <dlen...@gmail.com> wrote: > Ron Harding via PythonDotNet <pythondotnet@...> writes: > > > perhaps re-directed command line calls for stdin, stdout, stderr in c# > interacting with python i/o command line calls(although in python it is > common practice to daisy chain commands). > > Unfortunately, I cannot redirect the output of the C# library to a > convenient filehandle like stdout/stderr; I need to be specify a > FileStream object. > > It pretty much comes down to this: how do I cast a win32 file handle to an > IntPtr? > > Thanks, > Dan > > _________________________________________________ > Python.NET mailing list - PythonDotNet@python.org > https://mail.python.org/mailman/listinfo/pythondotnet >
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet