ixjf / MSIRGB

Alternative to MSI Mystic Light for controlling motherboard LEDs, without the fixed 7 colour limitation.
ISC License
401 stars 53 forks source link

DriverLoadFailed exception #98

Closed tomko80 closed 4 years ago

tomko80 commented 4 years ago

When I run the msirgb exe I get the warning that my MB is not supported but when I ignore that the app starts and the leds work just fine.

I now tried to call the dll directly in my own (C#) command line app using the (almos) original TryInitializeDll function to fire the things up. On the first run I get first the expected MB error but on the second it fails in a DriverLoadFailed exception thrown by the sio part.

Anything special I should know to consider in the project config e.g.? Can't figure out why the original apps works but my doesn't.

ixjf commented 4 years ago

Make sure you're running your app as administrator.

tomko80 commented 4 years ago

That was it, thanks!