Here’s another little “gotcha” from my experimentations in running C# apps cross-platform. The following code implements a system-wide mutex to ensure that only one instance of the program is running at any one time: Running this on Windows it behaves as one would expect. Run one instance you get “Doing stuff… press a key” output, [...]
¶
Posted 04 January 2013
† Martyn
§
‡
°
Here’s a small program… what do you think the output will be?
¶
Posted 12 December 2012
† Martyn
§
C#
‡
°
In which I explain why GTK# applications built in Monodevelop on Linux don’t run on Windows, and explain how to fix this…
¶
Posted 22 November 2012
† Martyn
§
‡
°
As I’ve mentioned a couple of times before, I’ve been working on a C# application, using GTK# to enable me to create a GUI application which can run on Linux, Mac or Windows. It works well but I’ve been working through some “gotchas” here and there. Here’s a useful little tip… Gtk# is not a thread-safe [...]
In which I explore the very basic usage of the .NET Configuration system and hit an apparent bug in Mono’s implementation of it…
I’ve been experimenting with using GTK# and C# to build GUI applications which will run on Linux, Windows and Mac. Monodevelop has a graphical form designer for Gtk# front ends, but it’s not as simple as building WinForms applications under Visual Studio. An example is the TreeView widget – it’s designed from an MVC perspective, [...]
I can’t be the only victim for this… I’ve experienced it on two different machines, on two versions of Kubuntu (11.08 and 12.04). If I go into System Settings → Application Appearance → Fonts and select “Enabled” for “Use anti-aliasing” then click “Configure” and select “Use sub-pixel rendering”, then (after a restart probably) all the [...]
¶
Posted 07 June 2012
† Martyn
§
‡
°
The first part of a (very) occasional series which follows my creation of a digital speedo for my motorcycle.
¶
Posted 02 April 2012
† Martyn
§
‡
°
A quick tip for those using the excellent Guitarix guitar effects program on Linux. I regularly found both cores of my machine up around the 90%-100% when that application was running, causing XRuns in Jack and clicks in outputted audio. I just found a way around it. For some really weird reason, SSHing into my [...]
¶
Posted 19 January 2012
† Martyn
§
‡
°
In which I investigate whether I can connect an Arduino Ethernet shield to my Veroboarduino. Not as easy as I first thought it would be!
¶
Posted 19 November 2011
† Martyn
§
‡
°