did something similar, with delphi, using winapi but also used opportunity to learn network sockets so the daemon was controlled using telnet. and instead of deploying it to the lab I was just showing it to those who were interested, so didn’t run into problems with teachers :)
Ps. cd opening was there too :)