This is odd … I installed D12 CE recently and have just started playing with it, and I can’t get it to show any properties using Code Insight. This is all I get. Does anybody have any suggestions? The object is there, the app compiles and runs as expected. No errors other than the compiler keeps complaining that Unit JS was compiled with a different version of System.RTLVersion122, which is quite puzzling b/c this is a brand new install (about 20 times now! uninstall … install … uninstall … install … nothing makes it budge).
I answered this question as reply on a direct email you sent with the same question.
This was the reply:
I see the error in the structure pane and it looks like either you installed the trial version of TMS WEB Core or you have not uninstalled the TMS WEB Core trial fully before installing the registered version.
Please scan your full hard disk for files js.pas and js.dcu.
There should be ONE copy of JS.PAS in the subfolder Component Library Source of the TMS WEB Core install folder. This subfolder should be in your IDE library path.
Then also scan your full hard disk for all copies of JS.DCU and make sure there is only ONE copy and it is the copy that belongs to the latest version of the registered install and when multiple copies are found, delete ALL copies that are not part of the latest TMS WEB Core registered version install.
I initially posted this because I was curious about the problem with Code Insight was. After thinking about it for a bit, it occurred to me that it might be related to this issue. That’s all that was behind mentioning it here.
Anyway, after searching my file system, I see two js.pas files that are very different, and several .dcu files.
c:\TMS\TMS Setup\Products\tms.webcore\Component Library Source\js.pas,
c:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL\js.pas
I don’t know which DCU files come from which source, but they are clearly different sizes.
The last one is for a totally different project that’s just a backup copied from my VM that is no longer functional. The js.dcu file is probably from late 2024. The timestamps are from copying the files.
What do you suggest I do?
UPDATE: I copied the js.pas file from the RTL folder into the source folder and it compiled and ran properly.
So should I just delete the other one? and what about the DCUs?
Make sure your IDE library path only contains the folder “Component Library Source” and not any of the folders where .DCU files are.
They all seem to be …/Release folders, and it does not look like there are any such folders in the path. I’m searching the entire C:\ drive!
Is there any way of figuring out exactly which one is getting used?
Is inside any BPL files?
Can I just delete it from these Release folders?
Are there supposed to be two PAS files?
Copying the shorter js.pas file into the Sidemenu demo folder worked fine – I was able to compile and run it.
There is a JS.PAS expected in “Component Library Source”' and one under “Core Source”.
The others are not strictly necessary.

