search for: setlasterror

Displaying 20 results from an estimated 45 matches for "setlasterror".

Did you mean: getlasterror
2008 Dec 18
5
EverQuest - worked once, but no more
...ollowing: > fixme:advapi:SetSecurityInfo stub > Segmentation fault So I've started debugging Wine, and I think I'm getting somewhere. > WINEDEBUG=+relay wine eqgame.exe patchme The output is too long for the buffer, but here's what I got back: > 0009:Ret KERNEL32.SetLastError() retval=00000002 ret=005bc285 > 0009:Call KERNEL32.GetFullPathNameA(0032fce4 "p.dat",00000104,0032f630,0032f5fc) ret=005c3afc > 0009:Ret KERNEL32.GetFullPathNameA() retval=00000025 ret=005c3afc > 0009:Call KERNEL32.GetLastError() ret=005bc221 > 0009:Ret KERNEL32.GetLastErro...
2006 Aug 21
1
[ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
...tem #5479, was opened at 2006-08-21 07:43 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Incorrect SetLastError declarations Initial Comment: windows-pr-0.5.3 lib\windows\error.rb SetLastError = Win32API.new(''kernel32'', ''GetLastError'', ''L'', ''V'') SetLastErrorEx = Win32API.new(''kernel32'', ''GetLastError...
2001 Feb 14
0
ASPI problem
...1 ret=64909d90 fs=0ccf Call kernel32.340: GetLastError() ret=7800385f fs=0ccf Ret kernel32.340: GetLastError() retval=00000002 ret=7800385f fs=0ccf Call kernel32.693: TlsGetValue(00000001) ret=7800386d fs=0ccf Ret kernel32.693: TlsGetValue() retval=49a58de0 ret=7800386d fs=0ccf Call kernel32.654: SetLastError(00000002) ret=7800387e fs=0ccf Ret kernel32.654: SetLastError() retval=00000002 ret=7800387e fs=0ccf Call kernel32.340: GetLastError() ret=7800385f fs=0ccf Ret kernel32.340: GetLastError() retval=00000002 ret=7800385f fs=0ccf Call kernel32.693: TlsGetValue(00000001) ret=7800386d fs=0ccf Ret kern...
2007 Oct 09
1
problem mapping large files?
...e_mapping( access=000f0005, attributes=000000c0, rootdir=(nil), size_high=0, size_low=-1882460114, protect=65, file_handle=0x50, name=L"" ) 0009: create_mapping() = INVALID_PARAMETER { handle=(nil) } 0009:Ret KERNEL32.CreateFileMappingW() retval=00000000 ret=01028a7b 0009:Call KERNEL32.SetLastError(00000000) ret=01019bf6 0009:Ret KERNEL32.SetLastError() retval=00000000 ret=01019bf6 I'm using Wine 0.9.46. Cheers, Robert Egglestone
2011 Aug 13
3
User32::MENU_CopySysPopup problem
When this code may fail? Code: /*********************************************************************** * MENU_CopySysPopup * * Return the default system menu. */ static HMENU MENU_CopySysPopup(BOOL mdi) { static const WCHAR sysmenuW[] = {'S','Y','S','M','E','N','U',0}; static const WCHAR sysmenumdiW[] =
2006 Aug 21
0
[ win32utils-Bugs-5479 ] Incorrect SetLastErrordeclarations
...From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > noreply at rubyforge.org > Sent: Monday, August 21, 2006 5:44 AM > To: noreply at rubyforge.org > Subject: [Win32utils-devel] [ win32utils-Bugs-5479 ] > Incorrect SetLastErrordeclarations > > > Bugs item #5479, was opened at 2006-08-21 07:43 > You can respond by visiting: > http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&gr oup_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None)...
2007 Oct 20
2
Sony Digital Voice Editor
...cc0020) ret=5f409d5d/ /000b:Call kernel32.GetLastError() ret=780036f3/ /000b:Ret kernel32.GetLastError() retval=00000000 ret=780036f3/ /000b:Call kernel32.TlsGetValue(00000004) ret=78003701/ /000b:Ret kernel32.TlsGetValue() retval=00b30f80 ret=78003701/ /000b:Call kernel32.SetLastError(00000000) ret=78003712/ /000b:Ret kernel32.SetLastError() retval=00000000 ret=78003712/ /000b:Call kernel32.GetLastError() ret=780036f3/ /000b:Ret kernel32.GetLastError() retval=00000000 ret=780036f3/ /000b:Call kernel32.TlsGetValue(00000004) ret=78003701/ /000b:Ret kernel32....
2009 Jan 23
1
[LLVMdev] Problem invoking win32 api calls
Hi, I use the kaliedoscope tutorial to do some experiments. I'm trying to define a few win32 functions as extern and execute them from the toy language. Functions that take no arguments execute fine (for example, GetLastError()). However, calling functions that do take arguments (for example, SetLastError(unsigned int)) always crash the application due to some kind of stack corruption (Unhandled exception at 0x00000000: 0xC0000005: Access violation reading location 0x00000000.) I'm actually using the CallingConv::X86_StdCall calling convention for these external functions (F->setCallingConv(...
2005 Sep 14
0
Google Earth: WINEDEBUG=+relay makes wine-preloader <defunct>
...09:Ret kernel32.GetLastError() retval=00000005 ret=7f49a6d7 0009:Call kernel32.TlsGetValue(00000003) ret=7f49a6ea 0009:Call ntdll.NtCurrentTeb() ret=7fcd5865 0009:Ret ntdll.NtCurrentTeb() retval=7fffe000 ret=7fcd5865 0009:Ret kernel32.TlsGetValue() retval=7fdcb900 ret=7f49a6ea 0009:Call kernel32.SetLastError(00000005) ret=7f49a762 0009:Ret kernel32.SetLastError() retval=00000005 ret=7f49a762 err:seh:setup_exception stack overflow 48 bytes in thread 0009 eip b7eb3867 esp 7fb00fd0 stack 0x7fb00000-0x7fc00000 Oh, yes... and the friendly box doesn't appear, too. Is there another way of logging the a...
2002 Nov 18
1
MYOB Premier
...on screen: (from MYOB) "FALT is needs that bit cleared" with an OK box. I must say, I absolutely *love* the grammar in the error box. Simultaneously, the wine debugger shows: fixme:accel:CreateAcceleratorTableA should check that the accelerator descriptions are valid, return NULL and SetLastError() if not. Clicking OK results in a repeat of the above, 48 times in total. (I won't bother posting the log, as it is *exactly* the same as the above, 48 times in a row. :-) I'm not a programmer, so it doesn't mean much to me. At this stage I have only tried it with the builtin dl...
2001 Feb 01
2
Thousands of "fixme:bitblt:MaskBlt", when running Scifinder
...1DRV_DIB_GetImageBits_1 from 1 bit bitmap with mask R,G,B ff,ff00,ff0000 to 1 bit DIB fixme:bitblt:MaskBlt (1128,214,206,210,24,1120,0,0,5082,0,0,-1429471232): stub .. Later I get these: fixme:accel:CreateAcceleratorTableA should check that the accelerator descriptions are valid, return NULL and SetLastError() if not. fixme:bitblt:MaskBlt (2224,427,7,32,42,1120,0,0,6802,0,0,-1429471232): stub .. And some of these: fixme:accel:CreateAcceleratorTableA should check that the accelerator descriptions are valid, return NULL and SetLastError() if not. fixme:bitmap:X11DRV_DIB_GetImageBits_1 from 1 bit bitmap...
2002 Apr 10
1
visio - wine
...002 (or 2000) with wine. All the dll's are loaded apparently, some screen pops up, and then it's over. I see these messages in debug : fixme:msvcrt:MSVCRT_signal (8 0x6030cd09):stub fixme:accel:CreateAcceleratorTableA should check that the accelerator descriptions are valid, return NULL and SetLastError() if not. fixme:font:WineEngCreateFontInstance just using first face for now fixme:font:WineEngCreateFontInstance just using first face for now fixme:ole:MSFT_DoTypeInfo Assign constructor/destructor memid fixme:ole:MSFT_DoTypeInfo Assign constructor/destructor memid fixme:ole:MSFT_DoTypeInfo Assig...
2007 May 23
5
debugging an app
...getting the same calls repeated as long as I can be bothered to wait. Running "WINEDEBUG=+relay wine TrackLogsV3.exe" I get the following calls repeated: 0009:Call KERNEL32.TlsGetValue(00000001) ret=7c34964c 0009:Ret KERNEL32.TlsGetValue() retval=00db00f8 ret=7c34964c 0009:Call KERNEL32.SetLastError(0000007a) ret=7c3496a2 0009:Ret KERNEL32.SetLastError() retval=0000007a ret=7c3496a2 0009:Call KERNEL32.GetLastError() ret=7c34963e 0009:Ret KERNEL32.GetLastError() retval=0000007a ret=7c34963e and then it repeats exactly. This is after a fairly sensible looking initialisation. If I set the win...
2007 Mar 19
1
Wine unhandled exception running PocketFMS
...01a,0465bf70,00af5cf8,00000000,00cc0020) ret=0053eafd 0009:Call kernel32.GetLastError() ret=0051fc72 0009:Ret kernel32.GetLastError() retval=00000000 ret=0051fc72 0009:Call kernel32.TlsGetValue(00000006) ret=0051fc80 0009:Ret kernel32.TlsGetValue() retval=00af00f8 ret=0051fc80 0009:Call kernel32.SetLastError(00000000) ret=0051fcd6 0009:Ret kernel32.SetLastError() retval=00000000 ret=0051fcd6 0009:Call kernel32.GetLastError() ret=0051fc72 0009:Ret kernel32.GetLastError() retval=00000000 ret=0051fc72 0009:Call kernel32.TlsGetValue(00000006) ret=0051fc80 0009:Ret kernel32.TlsGetValue() retval=00af00f8...
2012 Feb 20
4
Workarounds for Splinter Cell: Conviction
...; ~/Downloads/raw3.patch 2. With your favorite editor, open "wine-1.4-rc3/dlls/kernel32/thread.c" and find the following piece of code: BOOL WINAPI SetThreadPriorityBoost( HANDLE hthread, /* [in] Handle to thread */ BOOL disable) /* [in] TRUE to disable priority boost */ { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } Comment out (or delete) the SetLastError line and change the return value to TRUE. (the FALSE statement cause the ASSERT ret() failure some people talked about with Unreal Engine based games.) 3. execute the following: # ./tools/make_requests 4....
2013 Nov 23
3
[LLVMdev] [RFC] Identifying access to errno
...if there was a system where the golbal error >> > is not errno. Windows maybe? >> >> Okay. We should check. >> > > A Windows program can have two different global error numbers: Win32 and > C-Runtime flavor. > > The Win32 flavor is exposed via GetLastError/SetLastError[Ex] > The CRT flavor (errno) is, currently, exposed via a macro that expands to > (*_errno()) > > >> >> Thanks again, >> Hal >> >> > >> > >> > --renato >> >> -- >> Hal Finkel >> Assistant Computational Scientist...
2013 Nov 23
0
[LLVMdev] [RFC] Identifying access to errno
...; > > I wouldn't be surprised if there was a system where the golbal error > > is not errno. Windows maybe? > > Okay. We should check. > A Windows program can have two different global error numbers: Win32 and C-Runtime flavor. The Win32 flavor is exposed via GetLastError/SetLastError[Ex] The CRT flavor (errno) is, currently, exposed via a macro that expands to (*_errno()) > > Thanks again, > Hal > > > > > > > --renato > > -- > Hal Finkel > Assistant Computational Scientist > Leadership Computing Facility > Argonne National Labor...
2013 Nov 24
0
[LLVMdev] [RFC] Identifying access to errno
...was a system where the golbal > > error > > is not errno. Windows maybe? > > Okay. We should check. > > > > A Windows program can have two different global error numbers: Win32 > and C-Runtime flavor. > > > The Win32 flavor is exposed via GetLastError/SetLastError[Ex] > The CRT flavor (errno) is, currently, exposed via a macro that > expands to (*_errno()) > > > > > Thanks again, > Hal > > > > > > > --renato > > > > -- > Hal Finkel > Assistant Computational Scientist > Leadership Com...
2001 Jul 21
0
traceback on save in Camedia Master
...lue() retval=40378dbc ret=5f401018 08067ca0:Call kernel32.GetLastError() ret=78002699 08067ca0:Ret kernel32.GetLastError() retval=00000000 ret=78002699 08067ca0:Call kernel32.TlsGetValue(00000000) ret=780026a7 08067ca0:Ret kernel32.TlsGetValue() retval=40a80f80 ret=780026a7 08067ca0:Call kernel32.SetLastError(00000000) ret=780026b8 08067ca0:Ret kernel32.SetLastError() retval=00000000 ret=780026b8 err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0 addr 0x100feb97 I have a copy of the full debug report, if it is needed. Thank you! -- Scott Parish http://srparish.net/
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...uteNoWait(const Path& path, CloseHandle(si.hStdInput); CloseHandle(si.hStdOutput); MakeErrMsg(ErrMsg, "can't redirect stderr"); - return; + return 0; } } } @@ -435,7 +435,7 @@ Program::ExecuteNoWait(const Path& path, SetLastError(err); MakeErrMsg(ErrMsg, std::string("Couldn't execute program '") + path.toString() + "'"); - return; + return 0; } // Make sure these get closed no matter what. @@ -463,9 +463,11 @@ Program::ExecuteNoWait(const Path& path,...