I have got an issue with Windows 7 Sp1 (v 6.1.7601).
This code display a console window with "dir" result. It work well on Windows 7 but not with SP1.
BOOL RunCommand(LPCTSTR szCommand)
{
TCHAR szComSpec[MAX_PATH];
TCHAR szCmd[2048];
STARTUPINFO...
Fixes an issue in which when the CreateProcessWithTokenW function creates a WOW64 child process, the STDIN, the STDOUT, and the STDERR redirections do not work in the child process.
More...