I wanted to use my Wiimote as a remote control for my PC when i watched movies, tv shows, and listened to music. I've been trying to get it to work on and off for the past month and its been working on and off for the past month. Right now, I'm trying to get it to work permanently with BlueTunes, which is based off of the managed library for nintendo's wiimote. I've managed to get it to work accidentally once, after I restarted it, it stopped working again.
I have a Broadcomm 2045 internal bluetooth module. I'm using the widcomm v6 bluetooth stack on Vista x64 Ultimate. I've gotten it to work before so the hardware must be compatible. The only time it worked was after the multiple wiimote tester successfully connected to my wiimote. Usually it tells me it didn't connect properly, "Error reading data from wiimote...is it connected?", but for some odd reason, despite the error, if i click continue to the program, instead of quit and exit, i can still control the LEDs and rumble on the wiimote which is weird.
Here are the details for the error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
WiimoteLib.WiimoteException: Error reading data from Wiimote...is it connected?
at WiimoteLib.Wiimote.ReadData(Int32 address, Int16 size)
at WiimoteLib.Wiimote.ReadWiimoteCalibration()
at WiimoteLib.Wiimote.OpenWiimoteDeviceHandle(String devicePath)
at WiimoteTest.MultipleWiimoteForm.MultipleWiimoteForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
WiimoteTest
Assembly Version: 1.5.2.0
Win32 Version: 1.5.2.0
CodeBase: file:///C:/Users/Charanpreet/Documents/WiiStuff/WiimoteLib_1.5.2/WiimoteTest.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
WiimoteLib
Assembly Version: 1.5.2.0
Win32 Version: 1.5.2.0
CodeBase: file:///C:/Users/Charanpreet/Documents/WiiStuff/WiimoteLib_1.5.2/WiimoteLib.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I'm no expert on this kind of stuff so I need help with the error.