mono

OCR library for .NET and Mono

Does anyone know an OCR library for .NET that will run also on Mono? All options I've found are C# wrappers to libraries that run only under Windows. I need my program to run on both Windows and Linux. ...

Functions for system status C#

Hi, I'm looking for general system state functions for Mono. Things I need are: Memory (available, total) Free disk space IP Number External IP Running processes / services / daemons How do I get those? Thanks in advance, Yvan ...

Deploying Mono Apps on MacOS

I have an app that was developed for Windows but runs fine on MacOS under mono without any modifications (yay!). However, since it's an exectutable, OSX doesn't recognize it as a native file type, meaning you have to drop to the command line to run 'mono appname.exe'. It also doesn't show the application icon. In case it matters, my t...

Is there a system colors collection in GTK#?

How can I get a multi-platform system colors collection in GTK# (like System.Drawing.SystemColors in .NET)? I want an equivalent to System.Drawing.SystemColors.Control and System.Drawing.SystemColors.Highlight, ... ...

.NET/Mono Install Base

Me and some friends are considering writing a new FOSS project, and the debate is divided between using .NET or something else. So I am wondering if there is an advertised install base for Mono on Linux machines? and, if there known install base of Mono or the Microsoft .Net on windows machines? Thanks. Install Base - A measure of t...

C#/Mac: Path.GetInvalidPathChars() and Path.GetInvalidFileNameChars() result

What does this display on OSX? Can anyone run this on their machines using Mono? foreach (char c in System.IO.Path.GetInvalidPathChars()) { Console.Write((byte)c); Console.Write(", "); } and what does this display: foreach (char c in System.IO.Path.GetInvalidFileNameChars()) { Console.Write((byte)c); Console.Write(", "); ...

Mono C# Getting data from socket gets OutOfMemory

I have this simple code running on my windows server just fine, but when I run it in mono after a couple days I start getting only OutOfMemory exceptions. public static byte [] TryReceive (Socket sock, out int nLength) { nLength = 0; try { int size = sizeof(int); byte [] data; int recv = 0; int offset = 0; d...

Mono / MVC Html.ValidationSummary error

Hi. I am playing around with MVC on Mono. When I pass a string to Html.ValidationSummary() i get "method argument length mismatch". Link to full error page: http://johan.jabit.se/Dinners/Edit/1 When I pass no argument to Html.ValidationSummary() everything works fine, but then I have no summary text at the top :( Passing strings to ...

An example of ctypes on IronPython?

I'm trying to understand ctypes, and it's relationship to IronClad, on IronPython. (Ctypes is supposed to be implemented in the latest IronPython release.) Can somebody give a simple example of ctypes in IronPython that works on Mono/OSX? When trying the standard demos, I get: import ctypes SystemError: libdl.so Am I missing somethin...

Mono - Could not load file or assembly

Hi, i just exported my project to my new imac an loaded my solution into monodevelop. After the successfully compilation i started the project, and i always getting the same error. ** (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/xsp2.exe:1576): WARNING **: The following assembly referenced from /private/var/folders...

Synchronous/Blocking Application.Invoke() for GTK#

Unfortunately, Application.Invoke() is asynchronous: private string ThreadFunction(int i) { string result = null; Gtk.Application.Invoke(delegate { OutputStringToUserInterface("i = " + i.ToString()); result = GetStringFromUserInterface(); }); return result; } This means that in this example Thread...

How can I use SharpSVN in my own Mono (c#) project?

I would like to use the SharpSVN library to access SVN API, how can I access the SharpSVN namespace from my code? I downloaded the library, it doesn't seem to be code files, but some DLLs, some .exe/.xml. Thanks! ...

programming a video player with C# (mono) for linux

Hey all, I'm pretty noob when it comes to C# but it's probably my best shot at achieving this. So i'm learning as I go, and while this may seem ambitious it's for a good reason. I want to write a Picture-in-Picture style video player that quite simply creates a block of X width by Y height, and a video file can be loaded and started an...

How can I declare in C sharp a List with nullable double values?

The purpose is to enumerate the list and count how many nullable values I have, It will be used in order to test some Linq code because I lack of database. The thing is that no matter how I tried to define it I get from my compiler: "The type or namespace name List1' could not be found. Are you missing a using directive or an assembly ...

using ms healthvault sdk in mono/linux

Hi all. The MS Healthvault SDK comes with a dll, that is necessary for programming with Healthvault. Is there a way to build an HV application in mono? Josh ...

How do I install the Mono Winforms Designer on Mac OS X?

I've searched around but was unable to find a good, clear, answer. Can someone please explain to me how I can install the Mono Winforms Designer on Mac OS X? If it's not possible on OS X, can it be done on Linux? And if so, how? Any and all help is appreciated! Thanks. ...

How to use Process.Start() or equivalent with Mono on a Mac and pass in arguments

I am trying to write some c# code to start a browser using Process.Start(app,args); where apps is the path to the browser e.g. /Applications/Google Chrome.app/Contents/MacOS/Google Chrome and the args are --no-default-browser-check If i do, which works on Windows and on Linux Process.Start("/Applications/Google Chrome.app/Contents/MacO...

Open C: Directly with `FileStream` without `CreateFile` API

I trying to open C: directly with FileStream without success: new FileStream("C:", FileMode.Open, FileAccess.Read, FileShare.ReadWrite); System.UnauthorizedAccessException was unhandled Message="Access to the path 'C:\' is denied." Source="mscorlib" StackTrace: in System.IO.__Error.WinIOError(Int32 errorCode, Str...

Linux, Rails, Mono C#, No-SQL setup

Hi I am keen on setting up a Linux box to play around with Rails, No-Sql, Mono C#... and opensource projects! I am keen on learning Ruby on Rails and don't have a Mac so I think for now the cheapest option is to install a Linux distro on my computer. I am also keen on trying out MongoDB I am a complete nube to Linux and am wondering if...

Compiling Visual Studio 2008 Project with Mono

Possible Duplicate: How can i build a visual studio solution using xbuild (from Mono)? How to compile a visual studio project/solution with Mono ? If this is possible, Will the output run without installing .NET Framework ? ...