search for: closehandl

Displaying 20 results from an estimated 64 matches for "closehandl".

Did you mean: closehandle
2009 Apr 22
0
ActiveX error when running an application(VB6 based)
the following is the output, when I try to run the app via wine in debug mode(sorry if I have pasted the unnecessary information/output) # export WINEDEBUG=+relay # wine PrjPatientInfo.exe 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=65f3b30e 0009:Call ntdll.RtlFreeHeap(00110000,00000000,00133528) ret=65f014db 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=65f014db 0009:Call KERNEL32.ReleaseMutex(0000009c) ret=65f3b1ae 0018:Ret user32.GetMessageW() retval=00000001 ret=7ef58ee2 0018:Call user32.Dispatc...
2009 Apr 22
0
wine-users Digest, Vol 45, Issue 102
the following is the output, when I try to run the app via wine in debug mode(sorry if I have pasted the unnecessary information/output) # export WINEDEBUG=+relay # wine PrjPatientInfo.exe 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=65f3b30e 0009:Call ntdll.RtlFreeHeap(00110000,00000000,00133528) ret=65f014db 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=65f014db 0009:Call KERNEL32.ReleaseMutex(0000009c) ret=65f3b1ae 0018:Ret user32.GetMessageW() retval=00000001 ret=7ef58ee2 0018:Call user32.Dispatc...
2004 Aug 06
2
Please 30 second to look a my code
...} WriteFile(SpeexFile, &OutBuffer, nbBytes, &NrOfBytesWritten, NULL); //Write encoded buffer to outfile if(NrOfBytesRead<FRAME_SIZE) //Break if end of file break; } speex_bits_destroy(&bits); //Deallocate speex_encoder_destroy(state); CloseHandle(WaveFile); CloseHandle(SpeexFile); MessageBox(_T("Encoding Done")); } <p><p>void CRegistratoreDlg::OnDecode() { SpeexBits bits; void *state; char InBuffer[200]; short OutBuffer[FRAME_SIZE]; char waveheader[50]; HANDLE InFile; HANDLE OutFile; ch...
2011 Sep 03
1
Patch to build hivex lib on Windows
Hi I'm just posting this here in case someone is interested in building hivex on Windows (mingw32). The attached patch allows building the lib but not the tools (hivexsh etc..) as there are some more problems to solve. In short terms, this patch replaces file i/o functions and mmap(), munmap() with their win32api pendants. cu -- Unix _IS_ user friendly - it's just selective about
2009 Apr 07
2
Running an R script from Delphi 7
...ne), nil, nil, False, CREATE_NEW_PROCESS_GROUP+NORMAL_PRIORITY_CLASS, nil, nil, StartInfo, proc_info); if (CreateOK) then begin WaitForSingleObject (proc_info.hProcess, INFINITE); GetExitCodeProcess(proc_info.hProcess, ExitCode); Result := True end; CloseHandle(proc_info.hThread); CloseHandle(proc_info.hProcess); end; Now it seems to hang on the call on WaitForSingleObject toward the end. My current version of R is 2.8.1 if that is relevant. Does anybody have any suggestions? Tom
2008 May 20
10
Asynchronous Pipe::Server problems
Hi all, I''ve been working on the win32-pipe library (again) and I''ve reworked the interface. Instead of Pipe.new_server or Pipe.new_client, there''s now a base Pipe class, with Pipe::Server and Pipe::Client subclasses. You can find the latest code in the CVS repo. Oh, and you''ll need to update your windows-pr library with the latest from CVS if you want to
2008 Dec 18
5
EverQuest - worked once, but no more
...L32.WriteFile(00000058,0032e3d4,00000031,0032e3bc,00000000) ret=005c30e1 > 0009:Ret KERNEL32.WriteFile() retval=00000001 ret=005c30e1 > 0009:Call ntdll.RtlFreeHeap(00bf0000,00000000,00bf89b8) ret=005b63d4 > 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=005b63d4 > 0009:Call KERNEL32.CloseHandle(00000058) ret=005baf4b > 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=005baf4b > 0009:Call KERNEL32.GetLastError() ret=005bc221 > 0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=005bc221 > 0009:Call KERNEL32.FlsGetValue(00000000) ret=005bc22f > 0009:Ret KERNEL32.FlsGe...
2005 Nov 25
1
Sudden failure!
Wine 20050111 has been working fine until today ... now it fails when I go to run Quicken 2002. I am running Fedora Core 3 on a Pentium 3 with all of the current updates, wine 20050111. Windows Version is set to "Win98" Error message: fixme:msvcrt:_setmbcp Unreal codepages (e.g. -3) not implemented. What has happened? Thanks, David Johnson
2002 Mar 18
0
Wine's working, Buzz ain't happy...
...ll ntdll.RtlDeleteCriticalSection(40644b80) ret=40636323 0806edd8:Ret ntdll.RtlDeleteCriticalSection() retval=00000000 ret=40636323 0806edd8:Call ntdll.RtlDeleteCriticalSection(40644bb8) ret=40636323 0806edd8:Ret ntdll.RtlDeleteCriticalSection() retval=00000000 ret=40636323 0806edd8:Call kernel32.CloseHandle(00000004) ret=4062c0db 0807bb70:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000001 ret=4068afca 0807bb70:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=4068acdf 0807ec38:Call kernel32.TlsGetValue(00000006) ret=004a2b91 0807ec38:Ret kernel32.Tls...
2004 Aug 06
0
Please 30 second to look a my code
...ffer, nbBytes, &NrOfBytesWritten, > NULL); //Write encoded buffer to outfile > > if(NrOfBytesRead<FRAME_SIZE) //Break if end of file > break; > } > > speex_bits_destroy(&bits); //Deallocate > speex_encoder_destroy(state); > > CloseHandle(WaveFile); > CloseHandle(SpeexFile); > > MessageBox(_T("Encoding Done")); > } > > > void CRegistratoreDlg::OnDecode() > { > > SpeexBits bits; > > void *state; > > char InBuffer[200]; > short OutBuffer[FRAME_SIZE]; &g...
2007 Sep 25
2
Using callbacks with ReadFileEx
...ize.unpack(''Q'').first end buf = 0.chr * length bool = ReadFileEx( handle, buf, length, overlapped, func ) unless bool err = get_last_error() CloseHandle(handle) raise Error, err end CloseHandle(handle) buf[0,length] end end end if $0 == __FILE__ include Win32 file = ''test.txt'' data = NIO.read_async(file){ puts "Hello" } p data end When I...
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...ectIO(redirects[0], 0, ErrMsg); if (si.hStdInput == INVALID_HANDLE_VALUE) { MakeErrMsg(ErrMsg, "can't redirect stdin"); - return; + return 0; } si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg); if (si.hStdOutput == INVALID_HANDLE_VALUE) { CloseHandle(si.hStdInput); MakeErrMsg(ErrMsg, "can't redirect stdout"); - return; + return 0; } if (redirects[1] && redirects[2] && *(redirects[1]) == *(redirects[2])) { // If stdout and stderr should go to the same place, redirect stderr @@ -409...
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2012 Jan 09
4
"timeGetTime“ function in winmm.dll
...s 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 wininet.InternetCloseHandle() retval=00000001 ret=004222c2 0028:Call KERNEL32.LoadLibraryA(01b4e770 "C:\\Programme\\MetaTrader 4 \\experts\\libraries\\FCS300.dll") ret=00421df4 0009:Call hook proc 0x4f2290 (id=WH_CALLWNDPROC,code=0,wp=00000001,lp=0033669c) 0009:Call user32.CallNextHookEx(00010068,00000000,00000001,...
2010 Dec 25
4
[ win32utils-Bugs-28801 ] unclosed handle in Process.setpriority/getpriority
Bugs item #28801, was opened at 2010-12-25 11:02 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id=85 Category: win32-process Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Rafa? Michalski (royaltm) Assigned to: Nobody (None) Summary: unclosed handle in Process.setpriority/getpriority Initial Comment: Using
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...t;     if (si.hStdInput == INVALID_HANDLE_VALUE) { >       MakeErrMsg(ErrMsg, "can't redirect stdin"); > -      return; > +      return 0; >     } >     si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg); >     if (si.hStdOutput == INVALID_HANDLE_VALUE) { >       CloseHandle(si.hStdInput); >       MakeErrMsg(ErrMsg, "can't redirect stdout"); > -      return; > +      return 0; >     } >     if (redirects[1] && redirects[2] && *(redirects[1]) == *(redirects[2])) { >       // If stdout and stderr should go to the same plac...
2006 Dec 04
8
Calling R functions in Delphi
Hello All, We would like to call quantile() function from the R-package STATS in a Delphi program. If this is possible, could anyone provide us with an example? Thanks in advance. --Anna ----------------------------------------- Anna Belova Abt Associates Inc. 4800 Montgomery Ln, St 600 Bethesda, MD-20814 phone: 301-347-5304 fax: 301-652-7530 http://www.abtassociates.com/environment
2014 Sep 26
4
Patch to add buffering to decoding too
...i != d->foreign_metadata->audio_block) + size.QuadPart += d->foreign_metadata->blocks[i].size; + } + } + + if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* tell filesystem the expected filesize to eliminate fragmentation */ + SetEndOfFile(fh); + } + CloseHandle(fh); + } + } +#endif if(!write_iff_headers(d->fout, d, d->total_samples)) { d->abort_flag = true; return false;
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 { ///
2014 Sep 27
0
Patch to add buffering to decoding too
...ATTRIBUTE_NORMAL, NULL); + if(fh != INVALID_HANDLE_VALUE) { + if(GetFileType(fh) == FILE_TYPE_DISK) { + LARGE_INTEGER size; + size.QuadPart = written_size; + if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* correct the file size */ + SetEndOfFile(fh); + } + CloseHandle(fh); + } + } + } +#endif fclose(d->fout); if(error_occurred) flac_unlink(d->outfilename); @@ -364,6 +381,32 @@ FLAC__bool DecoderSession_process(DecoderSession *d) } } +#ifdef _WIN32 + if(!d->analysis_mode && !d->test_only && d->total_samples &...