Home > Uncategorized > Chromium Bluetooth Error

Chromium Bluetooth Error

FAILED: ninja -t msvc -e environment.x86 — “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86\cl.exe” /nologo /showIncludes /FC @obj\device\ bluetooth\device_bluetooth.bluetooth_init_win.obj.rsp /c ..\..\device\bluetooth\bluetooth_init_win.cc /Foobj\device\bluetooth\device_bluetooth.bluetooth_init_win.obj /Fdobj\device\bluetooth\device_bluetooth.cc.pdb
c:\chrome\src\device\bluetooth\bluetooth_init_win.cc(34) : error C3861: ‘__HrLoadAllImportsForDll’: identifier not found

If you get the following error do this:

bool HasBluetoothStack() {
static enum {
HBS_UNKNOWN,
HBS_YES,
HBS_NO,
} has_bluetooth_stack = HBS_UNKNOWN;
/*
if (has_bluetooth_stack == HBS_UNKNOWN) {
base::ThreadRestrictions::AssertIOAllowed();
HRESULT hr = E_FAIL;
__try {
hr = __HrLoadAllImportsForDll("bthprops.cpl");
} __except(FilterVisualCPPExceptions(::GetExceptionCode())) {
hr = E_FAIL;
}
has_bluetooth_stack = SUCCEEDED(hr) ? HBS_YES : HBS_NO;
}*/
has_bluetooth_stack = HBS_NO;

return has_bluetooth_stack == HBS_YES;
}

} // namespace bluetooth_init_win
} // namespace device

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.


− 5 = one