C
C
Che_Bu_Rashka2016-07-27 10:37:26
Delphi
Che_Bu_Rashka, 2016-07-27 10:37:26

Problems when running a compiled application in Delphi (does not run in 0.1% of cases), where can I see the logs?

Wrote in Delphi ХЕ2. A certain amount of software has been written, it stands on several computers with different OS, and you have XP and 7 and Windows Server 2003; 32 and 64 bit. Everything is fine. But once one of the managers needed to install my software on a computer, before that he had not used my software. And it started... In short, none of my programs run on his computer. Even test, the most simple.
About the program:

unit Unit2;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;

type
  TForm2 = class(TForm)
    txt1: TStaticText;
    btn1: TButton;
    mmo1: TMemo;
    procedure btn1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form2: TForm2;

implementation

{$R *.dfm}

procedure TForm2.btn1Click(Sender: TObject);
var s:TStringList;i:Integer;
begin
  s:=TStringList.Create;

  for i := 0 to 9 do begin
  s.Append('test-' + IntToStr(i + 100000) + ' ');
  end;

  mmo1.Clear;
  mmo1.Lines.Assign (s);

  s.Free;
end;
end.

Everything is simple, but even this one does not start. Here's what happens - 3 processes appear in the task manager (launched once) with sizes of about 100Kb (it weighs> 2Mb); processes cannot be cut down; the process itself (from which I launch them) (explorer, Total Commander) hangs up and dies after a while.
Same result when run from any computer hard drive.
Also with 32 and 64 bit versions of the test software.
Antivirus not found.
At the same time, the computer is full of working software, all sorts of excels, 1Cs, citcriks, and so on.
The most interesting thing is that I compiled this test software with both XE2 and XE7, I also
checked the files on virustotal.com, there are no viruses.
here are the links:
TEST_32
TEST_64
Click there"Information about the file" and "Additional information"
Actually, the question is, where can I look at the logs of the operating system, in which the reason for this behavior would be visible?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kalapanga, 2016-07-27
@kalapanga

Here periodically there are questions like Preventing the launch of .exe in Windows 10? . On that computer, didn’t the admins tell something that only allowed programs are launched?
But the symptoms are still strange, what are these three unkillable processes? Does the same test program run successfully on other computers in the usual way?
Logs here: Computer Management - Event Viewer - Windows Logs

A
asd111, 2016-07-27
@asd111

It seems to me that most likely some kind of dll libraries are missing.
Try running Dependency walker. www.dependencywalker.com

R
Rou1997, 2016-07-27
@Rou1997

There are several antiviruses that take any program compiled by Delphi as a virus, you have such an antivirus on that computer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question