Jump to content

limelect

Members
  • Content Count

    775
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by limelect


  1. yes. It is a portable computer that goes with me everywhere.

    So it restarts for almost every few days. it is a Lenovo server very powerful.

    I started this program out of a need for a project. So it worked in this directory.

     


  2. How ? in the IDE? the whole thing started by compiling the same source

    Into 2 different directories.

    P.S. very important.

    The problematic directory originally worked without any problems

    I came back to it after a few weeks then it happened.

    Furthermore, the program was on the backup so I could check.


  3. No. the project has basically the 2 lines shown in the beginning

    Nothing special. Guys be aware that the source is the SAME.

    Nothing else

     

    procedure TForm1.fillLists;
    var
      i, k: Integer;
      str, str2: TStringList;

    begin
      ListBox1.Clear;
      ListBox2.Clear;
      str := TStringList.Create;
      str2 := TStringList.Create;
      FDConnection1.GetTableNames('', '', '', str, [osMy, osOther], [tkTable],
        False);
      for I := 0 to str.Count - 1 do
      begin
        ListBox1.Items.Add(str);
        ListBox2.Items.Add('Fields of Table    ' + str);
        ListBox2.Items.Add('---------------');
        FDConnection1.GetFieldNames('', '', str, '', Str2);
        for k := 0 to str2.Count - 1 do
          ListBox2.Items.Add(Str2[k]);
        ListBox2.Items.Add('');
      end;
      str.Free;
      str2.Free;

    end;

     

    So simple it baffled me.
     


  4. @Attila Kovacs If I knew (with all my experience) what was going on

    I wouldn't put this post.

    The problem has NOTING to do with the source

    If you take the source and put it in one directory and compile the outcome

    is that the program does not give the expected result. That's it

    It does not read the database. I needed in a project to copy database content

    It is a Delphi compiler?????

    Screenshot - 28_09_2023 , 16_30_23.jpg


  5. What I did was take a NOT working exe and put it in a working dir

    and the exe did not work!

    so it is NOT a direct problem

    But a compilation problem.

    Crazy as it sounds I cannot find why in

    one directory the compilation is OK and 

    the other dir the compilation does not give a working exe

    although file !!!!! are the same !!!!!!!!!!

×