Problems with admin privileges
Hello, i'm currently working on a VB.NET app (VS2010) that uses your .dll to enable and disable devices. The problem is, even though i run my app with admin privileges, the enable/disable method of your library doesn't work and throws the following exception :
Unable to change Bluegiga Bluetooth Low Energy (COM7) device state, make sure you have administrator privileges
Do you have any solution for this ?
Thanks in advance
Yeah, same problem for me
Hello there,
I don't have any solution to your problem, I've just tried it and by launching VS2017 with admin privilege it's working so far for me.
Maybe you could debug the ChangeIt function from HardwareHelperLib, the error message to check administrator privileges is actually a bit of a catch all, maybe you can check the exception thrown from it whether its actually privileges issues or something one.
Hi there,
I know it's an old thread. However, make sure your application is built to the correct system architecture.. I had the same issue.. Got Unknown Error 0xe0000235 when calling SetupDiCallClassInstaller. After changing my platform target to x64 it works.
Hope this helps. :)