Ok. That gets me a little bit further.
gems use the tty? method on IO. which in turn calls

        [DllImport("kernel32")]
        private extern static IntPtr GetStdHandle(int nStdHandle);

        [DllImport("kernel32")]
        private extern static int GetFileType(IntPtr hFile);

obviously kernel32 doesn't exist. Will look at making finding the unix
equivalent for that.
But Win32Api does behave properly now

---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)



On Sat, Oct 3, 2009 at 10:55 PM, Tomas Matousek <
tomas.matou...@microsoft.com> wrote:

>  tfpt review "/shelveset:Win32APIPlatformCheck;REDMOND\tomat"
>  Comment  :
>  Adds Win32 platform check to Win32API.rb.
>
> Tomas
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to