Executable File that turns on/off Relay Switch

Hello everyone,

I want to create an executable file that would turn on/off a Relay Switch connected USB with a simple click. Any tips on how i can approach this?

I will recommend looking into base station
Source code and exe can be found here



How would i add the NCDLib to my project? Can i just use the libraries in here to call functions that would basically turn on/off the switch?