This is a sample application to test interaction with PlanetCNC using a nammed pipe.
As PlanetCNC run as Administrator, you must run this application as Administrator too in order to connect to the nammed pipe.
Feel free to copy and use any part of that application for you own projects.