Hi Mike,
This was the only thread where I found something related to my error.
I am getting this error: Exception from HRESULT: 0x80040202
when i try to declare any of these three event handlers:
btDiscovering.OnDeviceLost += new IBFBluetoothDiscoveryXEvents_OnDeviceLostEventHandler(BluetoothDiscovery_OnDeviceLost);
btDiscovering.OnStartMonitoring += new IBFBluetoothDiscoveryXEvents_OnStartMonitoringEventHandler(BluetoothDiscovery_OnStartMonitoring);
btDiscovering.OnStopMonitoring += new IBFBluetoothDiscoveryXEvents_OnStopMonitoringEventHandler(BluetoothDiscovery_OnStopMonitoring);
My application compiles successfully, 0 errors, 0 warning, but crashes when you try to run it.
I am using Visual Studio 2005 Pro, .Net 2.0, C#, and Demo Framework dll v5.22.0.0
Is there anything you can think of that would cause or fix this error?