Controlling EV3 motors within VC++
You can run C++ programs directly on the EV3 (Stackoverflow). An Eclipse plugin is also available.

If you want to run the C++ program on Windows and connect to the EV3 remotely you can use c4ev3's ev3duder, to establish a connection to the device and then keep sending direct messages to the motors over that connection. Check out moveEv3.pl for an example.