• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 618
  • Last Modified:

What is EEDFACE ??

External Exception EEDFACE

Happens when loadding a dll.

Does anybody knows what this exception means?
Is this a Delphi Exception??

TIA
0
mferdock
Asked:
mferdock
1 Solution
 
AttarSoftwareCommented:
Look in the Delphi help under $FEEDFACE, if I can remember rightly, I think it means that your DLL threw an unhandled exception (usually a memory allocation problem in your DLL code)

Tim.
0
 
AttarSoftwareCommented:
Right, I had a look (it is actually under $0EEDFACE), and basically, if your application or DLL is not written in Object Pascal (Delphi) and it throws an exception, then Win32 does not know how to handle it, so you get an EEDFACE exception.

Hope this helps...

Tim.
0
 
mferdockAuthor Commented:
I could not find 0EEDFACE or FEEDFACE
in the Delphi 4.0 help file. Where would
it be found.
Also, could this exception be created if you called a DLL written in Delphi 2.0 from an application that is written
in delphi 4.0 ?

-Mike
0
 
yk030299Commented:
listen
0
 
geobulCommented:
Hi,
The following is from D3 C/S Help:
-----------
If an exception is raised but not handled in a DLL, the exception is propagated out of the DLL. If the calling application or DLL is itself written in Delphi, it is possible to handle the exception through a normal try...except statement.
If the calling application or DLL is written in another programming language, the exception can be handled as an operating system exception with an exception code of $0EEDFACE. The first entry in the ExceptionInformation array of the operating system exception record contains the exception address, and the second entry contains a reference to the Delphi exception object.

If a DLL does not use the SysUtils unit, Delphi's exception support is disabled. In that case, if a runtime error occurs in a DLL, the application that called the DLL terminates. Because a DLL has no way of knowing whether it was called from an Object Pascal application or an application written in another programming language, it is not possible for the DLL to invoke the application's exit procedures before the application is terminated. The application is simply aborted and removed from memory. For this reason, make sure that there are sufficient checks in any DLL code so such errors do not occur.
---------
Regards, Geo
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now