search for: process_information

Displaying 7 results from an estimated 7 matches for "process_information".

2010 Aug 23
1
[Bug] [Urgent] CreateProcess Failed internal error (1359)
...rg); if(arg >= 7) { printf( "End chain\n"); return Quit(0); } int max = 2; if(arg > 0) { max = 2; } for(int i = 0; i < max; i++) { wchar_t buffer[255]; swprintf(buffer,255,L"\"%s\" %d %s%d",argv[0],arg + 1,argv[2],i); STARTUPINFOW si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); si.dwFlags = STARTF_USESTDHANDLES/*|STARTF_USESHOWWINDOW*/; //sui.wShowWindow = SW_HIDE; ZeroMemory( &pi, sizeof(pi) ); // Start the child process. if( !CreateProcessW( NULL, // No module name (use command line) bu...
2004 Nov 04
0
Running an exe from within a wined exe
...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. ) { AfxMessageBox("CreateProcess failed." ); } ________________________________________________ Message sent using UebiMiau 2.7.2
2013 Nov 18
7
RHSrvAny: Fix failure on Windows 2003
The newly rebuilt RHSrvAny worked on Windows XP, Windows 2003 R2, and Windows Vista+, but segfaulted on Windows 2003. After much investigation, the issue seems to have been with inconsistent use of Unicode. This series fixes compilation on Microsoft Visual C++ 2010 (the most recent version which runs on Windows 2003), fixes all compiler warnings, and enabled warnings during the build. The
2010 Sep 20
1
Dynamic forking in Win32
...No dice. A call to VirtualProtectEx then fails after adding it in... Any ideas on why this won't work in Wine? Here is some code where I added a lot of extra output for debugging... Code: static void doFork( EXE_FILE *exe, LPVOID ptrLoc, DWORD imageSize, char *target) { PROCESS_INFORMATION pi; CONTEXT ctx; PROCINFO childInfo; if (createChild(&pi, &ctx, &childInfo, target)) { LPVOID v = (LPVOID)NULL; DWORD r, old_protection = 0; MEMORY_BASIC_INFORMATION basic_info; printf("Original EXE loaded (PID = %d).\n", (int)pi.d...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...); + } + } + + return (FALSE); } -VOID +VOID SvcInit ( - DWORD dwArgc, - LPTSTR *lpszArgv + DWORD dwArgc, + LPTSTR *lpszArgv ) { - DWORD nSize; - BOOL fSuccess; + DWORD nSize; + BOOL fSuccess; STARTUPINFO si; - wchar_t szPWD[1024]; + wchar_t szPWD[1024]; PROCESS_INFORMATION pi; - wchar_t szCmdLine[1024]; - wchar_t szRegistryPath[1024]; + wchar_t szCmdLine[1024]; + wchar_t szRegistryPath[1024]; - // TO_DO: Declare and set any required variables. - // Be sure to periodically call ReportSvcStatus() with + // TO_DO: Declare and set any required variables....
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...); + } + } + + return (FALSE); } -VOID +VOID SvcInit ( - DWORD dwArgc, - LPTSTR *lpszArgv + DWORD dwArgc, + LPTSTR *lpszArgv ) { - DWORD nSize; - BOOL fSuccess; + DWORD nSize; + BOOL fSuccess; STARTUPINFO si; - wchar_t szPWD[1024]; + wchar_t szPWD[1024]; PROCESS_INFORMATION pi; - wchar_t szCmdLine[1024]; - wchar_t szRegistryPath[1024]; + wchar_t szCmdLine[1024]; + wchar_t szRegistryPath[1024]; - // TO_DO: Declare and set any required variables. - // Be sure to periodically call ReportSvcStatus() with + // TO_DO: Declare and set any required variables....
2020 Feb 28
0
Wine release 5.3
...child processes. kernel32/tests: Simplify the name of the test unit for child processes. kernel32/tests: Avoid a race in test_WaitForJobObject(). kernel32/test: Simplify a couple of calls to 'process exit'. kernel32/tests: Check if CreateProcess() resets STARTUPINFO/PROCESS_INFORMATION. gdi32/tests: Remove unnecessary metafile handle traces. Gabriel Iv?ncescu (14): vbscript: Move the named_item_t definition. vbscript: Implement separate script dispatch objects for each named item. vbscript/tests: Add tests for named item script dispatches. vbscript:...