Delphi 12.2 on Windows 11
I installed TMS Web Core using the new TMS Smart Setup GUI.
After resolving a licensing issue (the previous version was uninstalled and deleted), I encountered an error stating that libpas2js.dll could not be loaded.
I found the file in the TMS Setup folder within AppData
, but there were multiple copies in various directories. To fix this, I added the following folder to the user PATH:
C:\Users\user\AppData\Local\TMS Setup\Products\tms.webcore\Bin\Win32
I also tried to use:
C:\Users\user\AppData\Local\TMS Setup\Products\tms.webcore\Bin\Win32
However, in both cases, I now get the following error, even in a new project:
[Error] Project8.dpr(3): can't find unit "System"
Best regards,
Can you check the registry under
HKEY_CURRENT_USER\SOFTWARE\tmssoftware\TMS WEB Core\InstallDir
and verify this setting holds the path
C:\Users\user\AppData\Local\TMS Setup\Products\tms.webcore
Yes it is there.
same in
InstallDirWEB
Are you running the Delphi IDE from the same Windows user account as the one with which you installed TMS WEB Core?
Yes there is only one user.
Do you have such problem when running any of the demos?
Yes. There is exactly same problem with demos and with new project.
I'm out of ideas, somehow your system is in a bad state.
I suggest to uninstall TMS WEB Core. After uninstall, verify there are no more traces of TMS WEB Core in the IDE (see Component, Install Packages). Verify the install folders are empty / deleted. Verify the registry key HKCU\Software\tmssoftware\TMS WEB Core is removed.
When the machine is clean, perform a reinstall. With a good install, all should work out of the box.
I did as you offered and now it works but only web compnents.
As soon I put FNC compoents I I get errors like
[Error] Unit1.pas(6): can't find unit "VCL.TMSFNCTypes"
I tried demos.
TMSWeb_Simple -compiles
TMSWeb_FNCTabSet_PageControl
[Error] Unit1.pas(6): can't find unit "VCL.TMSFNCTypes"
Looks like some pathes are missing.
Add the folder where the TMS FNC Core & TMS FNC UI Pack source code is installed to the TMS WEB Core library path via Tools, Options, TMS WEB, Library path
Thanks it works.
Just one thing to mention.
Variables e.g. $(TMSWebCore) didn't work
and I had to give full path.
The variable should be
$(TMSWebDir)