Ivan Porto Carrero
2009-Oct-03 23:44 UTC
[Ironruby-core] Code Review: Win32APIPlatformCheck
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.Matousek at microsoft.com> wrote:
> tfpt review "/shelveset:Win32APIPlatformCheck;REDMOND\tomat"
> Comment :
> Adds Win32 platform check to Win32API.rb.
>
> Tomas
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20091004/b24bc8dd/attachment.html>