Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 221
Grandpa Avatar asked Jan 11 '12 02:01

Grandpa


1 Answers

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

like image 55
Grandpa Avatar answered Sep 30 '22 16:09

Grandpa