I can't add any unit to the source code.
When I add a unit, manually or dropping a component on the form, to the code of the application (I repeat, any unit) when I compile I always get the message from the pas2js compiler:
can't find unit "xxxx"
Is this a desired behavior, and I didn't understand something?
or is a problem of the installation.
I'm trying to add units like:
and so on.
My Windows 11 machine is a VMWare machine installed over VMWare Fussion on a Mac.
First of all, I'm not sure these units will work to compile to web.
Other than this, you need to add the folder where these files are located to your TMS WEB Core library path that is under Tools, Options, TMS WEB, Library path:
I can't assign the path to Delphi Libraries like "C:\Program Files (x86)\Embarcadero\Studio\23.0\lib\win32\release", where is "System.Hash.dcu". Nor to the source font provided by Embarcadero.
IDE gives me an Access Violation Error whenever I press the Add button.
Anyway, when I add the path to the source code of DMVCFramework, I can't compile the program because the conditionals define detect, I think, the version of the Pas2js compiler version instead of the Delphi compiler version.
TMS WEB Core is about transpiling Object Pascal code to run this code in the browser.
The browser can be considered the operating system where the code is running, so, anything using the Windows API will not work in the browser. Object Pascal code that is not using anything Windows or VCL specific, can work & run in the browser.
TMS WEB Core comes with its component framework to run in the browser as well as our entire FNC component offerings that were made web-ready