[Mono-list] Wind32 error on Linux

Dan Lewis dihlewis@yahoo.co.uk
Wed, 27 Mar 2002 13:33:18 +0000 (GMT)


Heha. It's true -- you've stumbled upon Mono's secret plans (discussed at
length on mono-private, of course) to subvert Linux and the free-software
movement by introducing portions of the Win32 kernel!  ;-)

No but seriously, don't be scared by this. Mono has a Win32-style IO layer that
returns Windows error codes in exceptional situations, which when recognized
are then mapped to the appropriate .NET exception. If an error code is
unrecognized, it just throws an IOException with the name of the code (I think
maybe a problem with Enum.GetName() is preventing it from displaying the actual
error name.)

Can you perhaps see a reason that a file might not be created: write
protection, disk full, etc? That would be helpful to track down the bug.

Thanks,
  Dan.


 --- Kenneth Rohde Christiansen <kenneth@gnu.org> wrote: > I ran into a little
funny error, a Win32 error on Linux :)
> 
> Kenneth
> 
> kenneth]$ mcs HelloWorld.cs              
> error CS16: Coult not write to file `./HelloWorld.exe', cause: Win32 IO
> operation returned  for ""
> Error: Compilation failed
> RESULT: 1
> 
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com