ckranich
(Kranich Christian)
April 22, 2026, 8:26am
1
I have a licensed WebCore and Delphi Enterprise 12.2
WebCore samples work fine, but *on an old, legacy project (aging back to D5 and now 12.2)
I see this compile error.
(Not on other projects)
I have WinGrep after WebLib.DB in project folder or subfolders. nothing found.
Any idea what causes this?
Many Thanks
Christian*
Is this effectively upon compiling with the pas2js transpiler? Sure that this isn't (by accident) compiled with DCC32?
ckranich
(Kranich Christian)
April 22, 2026, 9:10am
3
Thank you Bruno, for quick response!
(And all the TMS stuff; I am a long time customer…)
This legacy project has no Webcore functionality at all.
and therefore is compiled by DCC32
I also checked the Search paths - all clean, np Webcore stuff
BUT now checked Unit Scope setting
(never touched this as I came all the way down from Delphi 1 )
Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;TMS.Web.IDE;System.Win;Winapi;WEBLib
And this is a very old (originally using DB for decades) project this possibly causing a
unit reference DB to be misguided to Web.DB?
ckranich
(Kranich Christian)
April 22, 2026, 9:15am
4
Messages/Output tab gives more hints
c:\program files (x86)\embarcadero\studio\23.0\Bin\CodeGear.Delphi.Targets(425,5): error F2092: F2092 Program or unit 'WEBLib.DB' recursively uses itself
Try to remove WEBLib and TMS.WEB.IDE from unit scope, it should not be needed
ckranich
(Kranich Christian)
April 22, 2026, 9:45am
6
That did it! Many thanks!
(Also I found a few stubs on BDE left over and removed, but this was not connected; just
tidying up old code)
Kind Greetings!
1 Like