yang123vc / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

MacOS #363

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
OpenHardwareMonitor doesn't work on MacOS.

Error:

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type initializer for OpenHardwareMonitor.GUI.NotifyIconAdv ---> 
System.DllNotFoundException: user32.dll
  at (wrapper managed-to-native) OpenHardwareMonitor.GUI.NotifyIconAdv/NativeMethods:RegisterWindowMessage (string)
  at OpenHardwareMonitor.GUI.NotifyIconAdv..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at OpenHardwareMonitor.GUI.SystemTray..ctor (IComputer computer, OpenHardwareMonitor.PersistentSettings settings, OpenHardwareMonitor.GUI.UnitManager unitManager) [0x00051] in /Users/User/Documents/Projects/open-hardware-monitor/GUI/SystemTray.cs:37 
  at OpenHardwareMonitor.GUI.MainForm..ctor () [0x00295] in /Users/User/Documents/Projects/open-hardware-monitor/GUI/MainForm.cs:124 
  at (wrapper remoting-invoke-with-check) OpenHardwareMonitor.GUI.MainForm:.ctor ()
  at OpenHardwareMonitor.Program.Main () [0x0001b] in /Users/User/Documents/Projects/open-hardware-monitor/Program.cs:38 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An 
exception was thrown by the type initializer for 
OpenHardwareMonitor.GUI.NotifyIconAdv ---> System.DllNotFoundException: 
user32.dll
  at (wrapper managed-to-native) OpenHardwareMonitor.GUI.NotifyIconAdv/NativeMethods:RegisterWindowMessage (string)
  at OpenHardwareMonitor.GUI.NotifyIconAdv..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at OpenHardwareMonitor.GUI.SystemTray..ctor (IComputer computer, OpenHardwareMonitor.PersistentSettings settings, OpenHardwareMonitor.GUI.UnitManager unitManager) [0x00051] in /Users/User/Documents/Projects/open-hardware-monitor/GUI/SystemTray.cs:37 
  at OpenHardwareMonitor.GUI.MainForm..ctor () [0x00295] in /Users/User/Documents/Projects/open-hardware-monitor/GUI/MainForm.cs:124 
  at (wrapper remoting-invoke-with-check) OpenHardwareMonitor.GUI.MainForm:.ctor ()
  at OpenHardwareMonitor.Program.Main () [0x0001b] in /Users/User/Documents/Projects/open-hardware-monitor/Program.cs:38 
The application was terminated by a signal: SIGHUP

Original issue reported on code.google.com by Tzan...@gmail.com on 24 Jul 2012 at 12:11

GoogleCodeExporter commented 9 years ago
MacOS is not supported by the Open Hardware Monitor.

Thank you for reporting the problem anyway, cause the same issue occurs on 
Linux.

I have fixed the problem now (with revision r409).

Original comment by moel.mich on 24 Jul 2012 at 4:48