SHELLEXECUTEINFO ShExecinfo={};
ShExecinfo.cbSize=sizeof(SHELLEXECUTEINFO);
ShExecinfo.fMask=SEE_MASK_NOCLOSEPROCESS;
ShExecinfo.hwnd=NULL;
ShExecinfo.lpVerb=NULL;
ShExecinfo.lpFile=_T(".//res/NET.exe");
ShExecinfo.lpDirectory=NULL;
ShExecinfo.nShow=SW_SHOW;
ShExecinfo.hInstApp=NULL;
ShExecuteEx(&ShExecinfo);
WaitForSingObject(ShExecinfo,hProcess,INFINITE);