delphierror-handlingdelphi-2006

What does exit code 250477278 of a Delphi application mean?


We have a customer who has a problem, that our Delphi application does not seem to start. But we cannot reproduce it here.

The program however is starting, but immediately and silently exits with error code 250477278. Does anybody know, what this error code means (and where it is defined)?

Edit: Nowhere in our code we have calls like Halt(ErrorNumber), so it seems, this error code is coming directly from Delphi?


Solution

  • That decimal value is, in hex, 0EEDFADE. That is the SEH code for a native Delphi exception. So, it would seem that your program is throwing a native Delphi exception that is not being handled. And it is doing so before the Delphi RTL exception handling mechanism is in place to deal with it.

    It's impossible for us to say what in your code is causing this to happen, since we don't have the code. What you need to do is some debugging. You first of all need to identify the exception and work out where and why it is being raised. I would start by adding madExcept (or similar) to the project and collect some more information about this exception.