diff -r 090259cfd699 -r 480652d72031 GUI/MainForm.cs --- a/GUI/MainForm.cs Sun Feb 03 18:01:50 2013 +0100 +++ b/GUI/MainForm.cs Sun Feb 03 19:06:01 2013 +0100 @@ -18,6 +18,7 @@ using System.IO; using System.Reflection; using System.Windows.Forms; +using System.Windows; using Aga.Controls.Tree; using Aga.Controls.Tree.NodeControls; using OpenHardwareMonitor.Hardware; @@ -131,7 +132,19 @@ systemTray.HideShowCommand += hideShowClick; systemTray.ExitCommand += exitClick; - soundGraphDisplay = new SoundGraphDisplay(computer, settings, unitManager); + soundGraphDisplay = new SoundGraphDisplay(computer, settings, unitManager); + if (soundGraphDisplay.IsDllLoaded) + { + //Try init + //NativeWindow window; + + + //= Window.GetWindow(this); + //var wih = new WindowInteropHelper(window); + //IntPtr hWnd = wih.Handle; + } + + int p = (int)Environment.OSVersion.Platform; if ((p == 4) || (p == 128)) { // Unix