My application written in Visual C++ executes an external program with system
function call.
A system command is a call of stereoscopic player instance with certain stereo 3D video file and fullscreen mode passed as parameters.
The problem is that stereoscopic player called from C++ app plays video very slowly. Executing the same command from Windows cmd doesn't cause such behaviour.
When I run built-in Windows CPU load analyzer I get the following results (I can attach a screenshot if needed):
How can I solve this problem?
Try using SetProcessAffinityMask for the process you are spawning