An old post, but the solutions have not been found, if it is useful to someone, then using the Virtual Serial Port Driver you can....
To use virtual com driver functionality in C and C++, itís...