System.Classes not found !!!!

Hi

   Why a simples clean unit doesn?t compile with message System.Classes not found ? But other units form in the same project compiles without error ?


unit Unit1;

interface
uses
  System.Classes;   

implementation

end.
Is this unit added to your project?
If not, please uses Classes.

Bruno Fierens2019-07-05 14:18:47

Yes it´s added to my project, but with uses classes;  this compiled ok why ? In other unit form compiles ok with system.classes  like above


unit uLogin;

interface

uses
  System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls,
  WEBLib.Forms, WEBLib.Dialogs, Vcl.StdCtrls, WEBLib.StdCtrls, Vcl.Controls, WEBLib.ExtCtrls;

type
  TfrmLogin = class(TWebForm)
    edtIdentificacao: TWebEdit;
    edtSenha: TWebEdit;
    btnEntrar: TWebButton;
    chbLembrarSenha: TWebCheckBox;
    procedure btnEntrarClick(Sender: TObject);
  end;

...
Why ?

We will investigate.

Same problem here

Verify your library path.
It is important that 2 folders WEBCOREINSTALLFOLDER\Core Source and WEBCOREINSTALLFOLDER\Core Source\RTL are added to your pas2js library path (Tools, Options, TMS Web, Library path)

Strange: The field is actually empty.


I will insert the 2 folders and report back.

It's working now.