спасибо, исправил ошибки. небольшое уточнение:
typedef struct _STARTUPINFO {
DWORD cb;
LPTSTR lpReserved;
LPTSTR lpDesktop;
LPTSTR lpTitle;
DWORD dwX;
DWORD dwY;
DWORD dwXSize;
DWORD dwYSize;
DWORD dwXCountChars;
DWORD dwYCountChars;
DWORD dwFillAttribute;
DWORD dwFlags;
WORD wShowWindow;
WORD cbReserved2;
LPBYTE lpReserved2;
HANDLE hStdInput;
HANDLE hStdOutput;
HANDLE hStdError;
} STARTUPINFO, *LPSTARTUPINFO;
таким образом имеем:
X++:
// strartupInformation.dWord(44, _cmdShow);
strartupInformation.dWord(44, 1); // Учитывать значение параметра _cmdShow
strartupInformation.Word(48, _cmdShow);