Every time I tried to open the game launcher settings in 7th Heaven it just pop up:
An Unhandled exception has occurred and the app must close with the following code attached below
(the Chinese translation in the code:
無效的類別字串 = invalid class string
發生例外狀況於 HRESULT = Exception from HRESULT)
23:23:56|ERROR|SeventhHeavenUI.App|System.Runtime.InteropServices.COMException (0x800401F3): 無效的類別字串 (發生例外狀況於 HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
於 NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
於 NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
於 NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
於 SeventhHeaven.ViewModels.GameLaunchSettingsViewModel.InitSoundDevices()
於 SeventhHeaven.ViewModels.GameLaunchSettingsViewModel..ctor()
於 SeventhHeaven.Windows.GameLaunchSettingsWindow..ctor()
於 SeventhHeavenUI.MainWindow.menuItemLaunchSettings_Click(Object sender, RoutedEventArgs e)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
於 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
於 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
於 System.Windows.Threading.DispatcherOperation.InvokeImpl()
於 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
於 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
於 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
於 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
於 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
於 System.Windows.Threading.DispatcherOperation.Invoke()
於 System.Windows.Threading.Dispatcher.ProcessQueue()
於 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
於 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
於 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
於 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
於 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
於 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
於 System.Windows.Application.RunDispatcher(Object ignore)
於 System.Windows.Application.RunInternal(Window window)
於 System.Windows.Application.Run(Window window)
於 SeventhHeavenUI.App.Main()
The game runs fine and I checked that my .NET framework is the latest version
I tried reinstalling 7th heaven but the problem still exists so I have no idea what I have done wrong.
Do anyone has any clue how to fix it? Thanks in advance for your help!!