jloehr / HID-Wiimote

Windows Device Driver for the Nintendo Wii Remote
GNU General Public License v3.0
215 stars 45 forks source link

Control Center silent crash #43

Open jloehr opened 6 years ago

jloehr commented 6 years ago

For some users the Control Center silently crashes on start up if the driver package is installed. It seems to also occur right after installing the package and then closing the Installer window. So it can be narrowed down to some issue with the Control Center Main Window. A silent crash usually means some unhandled exception is thrown.

jloehr commented 6 years ago

Furthermore as it happens to crash right at the start, without any Wii Remote connected after the installer finishes, the exception must occur within the main window's constructor or OnInitialized handler.

This is the first point where the HID Wiimote User Mode assembly is referenced. So it may be an cross assembly reference error. During the OnInitialized event only the WiimoteDeviceInterfaceDiscoverer constructor and its Start method is called. So it's either an issue with the creation of one of the lists or with the spawning of the "Searching Thread".

jloehr commented 6 years ago

The Control Center is throwing an "System.IO.FileNotFoundException" on the "HID Wiimote User Mode.dll". However a user provided video shows that file is present in the extracted folder. Some SO thread assumes this is due to the missing VC++ Runtime.

ThatCraws commented 3 years ago

The Control Center is throwing an "System.IO.FileNotFoundException" on the "HID Wiimote User Mode.dll". However a user provided video shows that file is present in the extracted folder. Some SO thread assumes this is due to the missing VC++ Runtime.

Might be a little late to the party, but I had the same issue after downgrading my Microsoft Visual C++ Redist to the one linked in the install instructions on the website (MSVC++ 17). After (re-)installing/updating back to the latest supported version it worked again.

LeroyAndrade commented 1 year ago

What is needed for Windows 11 support?