Re: A call to an OS Function failed??



Global wrote:
Hi, I run into this error once in a while. It happens when application is doing nothing but showing its form, but no actions or anything is performed. I run application and IDE at the same time (by clicking application icon, not under debugger).

Well that's no way to debug a program. Run your program in the debugger.

So, once in a very large while, it will display this message, exception handler is constomized, so I get more info.

The only additional information you're providing seem to be the "origin" and the "TID"; what do those mean? Where does that information come from? How do they help you find the source of the problem?

What is this, and how do I track this thing down??

That error message occurs when your program calls RaiseLastOSError (or RaiseLastWin32Error) even though GetLastError returns NoError.

---------------------------
My App
---------------------------
A call to an OS function failed.

(TID:6800) - 0x00467E00 - 0x00000000
Type: "EOSError" Origin: "TApplication"

OK. So what API function did you call at address 00467E00? This is where a debugger would help.

--
Rob
.



Relevant Pages

  • Re: several questions
    ... so I'm not suprised it still fails. ... debugger in Office VBA is the best debugger for any IDE ever. ... > the thing is that i get that error message after the sub has run fine a> few tries. ...
    (microsoft.public.excel.programming)
  • Re: blue screen error - Symbols can not be loaded...
    ... this error condition means that a kernel-mode ... You receive a "Stop 0x0000000A" error message in Windows XP ... Your debugger is not using the correct symbols ...
    (microsoft.public.windowsxp.general)
  • Re: blue screen error - Symbols can not be loaded...
    ... this error condition means that a kernel-mode ... You receive a "Stop 0x0000000A" error message in Windows XP ... Your debugger is not using the correct symbols ...
    (microsoft.public.windowsxp.general)
  • Re: Help request on Effect.FromFile
    ... did not change the error message. ... In case of DX debugger, ... float4x4 WorldViewProj: WORLDVIEWPROJECTION; ... > News and Information for Managed DirectX ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: aspnet_wp.exe stopped unexpectedly
    ... Havent tried to use the debugger; ... be displayed when I call this page from the browser. ... An error message detailing the cause of this specific ... request failure can ne found in the system event log of the web server. ...
    (microsoft.public.dotnet.general)