search for: terminateprocess

Displaying 6 results from an estimated 6 matches for "terminateprocess".

Did you mean: terminate_process
2010 Sep 20
1
Dynamic forking in Win32
...)childInfo.baseAddr, (int)childInfo.imageSize); if (VirtualQueryEx( pi.hProcess, (LPCVOID)childInfo.baseAddr, &basic_info, sizeof(MEMORY_BASIC_INFORMATION)) == 0) { ErrorExit("VirtualQueryEx: Failed!\n"); TerminateProcess(pi.hProcess, 0); exit(1); } else { printf( "Before:\n" "Process basic info: 0x%08X\n" " BaseAddress: 0x%08X\n" " AllocationBase: 0x%08X\n"...
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...quot;) + path.toString() + "'"); - return; + return 0; } // Make sure these get closed no matter what. @@ -463,9 +463,11 @@ Program::ExecuteNoWait(const Path& path, MakeErrMsg(ErrMsg, std::string("Unable to set memory limit")); TerminateProcess(pi.hProcess, 1); WaitForSingleObject(pi.hProcess, INFINITE); - return; + return 0; } } + + return pi.dwProcessId; } bool Program::ChangeStdinToBinary(){ -- 1.6.3.3
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...ring() + "'"); > -    return; > +    return 0; >   } > >   // Make sure these get closed no matter what. > @@ -463,9 +463,11 @@ Program::ExecuteNoWait(const Path& path, >       MakeErrMsg(ErrMsg, std::string("Unable to set memory limit")); >       TerminateProcess(pi.hProcess, 1); >       WaitForSingleObject(pi.hProcess, INFINITE); > -      return; > +      return 0; >     } >   } > + > +  return pi.dwProcessId; >  } > >  bool Program::ChangeStdinToBinary(){ > -- > 1.6.3.3 > > ________________________________________...
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
--- include/llvm/System/Program.h | 8 ++++---- lib/System/Unix/Program.inc | 30 +++++++++++++++--------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h index 49de7cf..14f9e9e 100644 --- a/include/llvm/System/Program.h +++ b/include/llvm/System/Program.h @@ -97,12 +97,12 @@ namespace sys { ///
2013 Apr 12
0
Wine release 1.5.28
...implementation. comdlg32: Add a simple PrintDlgEx implementation which wraps around the PrintDlg one. comdlg32: Add an interactive PrintDlgEx test. kernel32: Add a shared memory test. kernel32: Add a test for threads state when a process is being terminated. kernel32: TerminateProcess unlike NtTerminateProcess is supposed to fail with process == 0. Erich Hoover (1): server: Report administrator ownership by default for registry objects. Francois Gouget (5): riched20: ME_StrDup() is not used anymore so remove it. windowscodecs/tests: Add a trailing '\n'...
2012 Jan 09
4
"timeGetTime“ function in winmm.dll
Dear Forum, I installed MetaTrader 4 with wine it is up and running everything works well, the best performers is with the new wine 1.3. BUT if I run some EA Experts Advisors I get on two of it problems and the application crashes. The EA`s with crashes have custom .dll (FCS300.dll) and I try to debug this errors. Code: 0028:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7d7984a2 0028:Ret