adabru / BleWinrtDll

BLE for Unity 3d in Windows without UWP.
Do What The F*ck You Want To Public License
168 stars 52 forks source link

Why can't BleWinrtDll.dll be called when this project is deployed to HoloLens? #46

Open flashchen73 opened 1 year ago

flashchen73 commented 1 year ago

Hello, your project is well written, but when I deployed it to HoloLens through Visual Studio, I found that BleWinrtDll.dll cannot be called by the project, but it is possible in Unity. Could you please tell me what the possible problems are?

adabru commented 1 year ago

Maybe https://github.com/adabru/BleWinrtDll/issues/23 and https://github.com/marianylund/BleWinrtDll can help you :+1:

The difference now is that you need two Dlls, one for Unity Editor and one for HoloLens. For HoloLens choose configuration "Release" and "ARM64" and "x64" for Unity Editor when building.

flashchen73 commented 1 year ago

Maybe #23 and https://github.com/marianylund/BleWinrtDll can help you 👍

The difference now is that you need two Dlls, one for Unity Editor and one for HoloLens. For HoloLens choose configuration "Release" and "ARM64" and "x64" for Unity Editor when building.

Thank you so much. This is really useful. The problem has been resolved. Thank you again for your kindness.