简体   繁体   中英

Delphi XE2 64 bit app and Application Verifier fails

I hope someone can explain this to me? All 64 bit apps I compile will fail when using Application Verifier with just the default settings in Application Verifier. Here is sample of hello world dpr:

program HelloWorld;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils;

begin
  try
     Writeln('Hello, World!');
     Readln;
  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;
end.

As I see this it fails on the Int 3 (first chance) that Application Verifier throws when the app is started? Why does this fail in x64 and not x86? And is there a way to stop this? I must have missed something in the x64 documentation cause I am truly lost at this behavior.

Thanks to all and any who can answer this for me.

Grandpa

Solved by installing Application Verifier 4.1.1078. Was using 4.0.0665 and it will 'always' fail. Version 4.1.1078 works as expected after turning off anti-virus

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM