#include <windows.h>
STARTUPINFO si;
ZeroMemory( &si, sizeof(si) );
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi) );
// Start the child process.
if( !CreateProcess( _T("D:\\progX\\UseCSharp\\Debug\\Ply2Depth.exe"),
_T(" 1 1 0 0 D:\\progX\\laurana50k-depth1_UV128_12_1frame.yuv D:\\progX\\laurana50k-depth2_UV128_12_1frame.yuv"), // Command line. There should be a space at the beginning
NULL, // Process handle not inheritable.
NULL, // Thread handle not inheritable.
FALSE, // Set handle inheritance to FALSE.
0, // No creation flags.
NULL, // Use parent's environment block.
NULL, // Use parent's starting directory.
&si, // Pointer to STARTUPINFO structure.
&pi ) // Pointer to PROCESS_INFORMATION structure.
)