I try to install a third-party package, and I get a compilation error:
[DCC Error] fiile/line : E2003 Undeclared identifier: 'Windows'
which refers to this line:
wnd := Windows.GetFocus;
It seems pretty obvious that I donβt have the right to my units of measure - but do I need it (and is there a general approach to determine which condition of use I need)?
I currently have
Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web; Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;Winapi;System.Win
[Refresh]
interface uses SysUtils, winapi.windows, Classes, Controls, ExtCtrls, Graphics, StdCtrls, Dialogs, IniFiles, winapi.messages, Forms, Math {$IFDEF DELPHI6_LVL} , Variants {$ENDIF} ;
There is no use in impementation section.
[Upate] I forgot to mention. I was unable (exactly the same) to install it on one laptop. Then I succeeded for a second. The trouble is that I would prefer it on my desktop, and after a new installation of the XE2 starter, I will get these problems.
source share