Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Apr : Delphi 2005 Call to OS function failed while in IDE

www.cryer.info
Managed Newsgroup Archive

Delphi 2005 Call to OS function failed while in IDE

Subject:Delphi 2005 Call to OS function failed while in IDE
Posted by:"Bas Scholtemeijer" ()
Date:8 Apr 2006 02:46:16 -0700

When I am working on my Delphi 2005 project on a my Win XP SP2 x64 system, I often receive the error "A call to an OS function failed." either when the application starts or ends.

In some cases the process can not be terminated, and my whole IDE hangs, forcing me to kill bds.exe and restart.

Lately this has been happening upon termination of the app. so I debugged all the way thrue the VCL to System.pas where the error occured at ExitProcess(ExitCode); of procedure _Halt0.

Appearantly when this routine is called this error is generated. However, this routine is a forwarded external call, so thats where my debugging efforts stop..

I have noticed that this error only occures if I run the app. from the Delphi IDE. Also, on my Win XP SP2 32-bit box this error does not occur (same Delphi version).

Does anyone have an idea to fix this?

Info

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive