External Exception EEFFACE in Delphi

前端 未结 5 1545
萌比男神i
萌比男神i 2021-01-07 18:23

While debugging my application with Delphi 2009, I sometimes get the following exception occurring:


(source: beholdgenealogy.com)

This only

5条回答
  •  时光取名叫无心
    2021-01-07 18:42

    This is not an exact answer but may help you with overcoming the error by describing my experience with it.

    I received this error regularly when I went to Windows Vista and 7. The same code never received that error message on Windows XP. I could put a break point on the first line of the dpr file and found that it always seemed to occur when creating the splash screen to my applications. I tried various other ways to do splash screens but they always eventually resulted in getting an EEFFACE error when debugging.

    So to overcome this issue, I now put

    if DebugHook = 0 then
    

    when I create and access the splash screen. The splash screen to my applications do not appear now when I'm debugging but at least I don't get that EEFFACE error anymore.

提交回复
热议问题